🏠 Home 

Greasy Fork is available in English.

Intercept and Copy window.open URLs (DeepSeek)

Intercept window.open calls and copy the URL to clipboard on chat.deepseek.


ติดตั้งสคริปต์นี้?
ผู้เขียน
Cochinver
จำนวนติดตั้งประจำวัน
0
จำนวนติดตั้งทั้งหมด
2
คะแนน
0 0 0
เวอร์ชัน
1.0
สร้างเมื่อ
19-02-2025
อัปเดตเมื่อ
19-02-2025
Size
384 ไบต์
สัญญาอนุญาต
ไม่มี
ปรับใช้กับ

prevents deepseek from opening windows, and copies the url to your clipboard instead

ai:

Intercept and Copy window.open URLs (DeepSeek)

Description

This user script intercepts calls to window.open on chat.deepseek.com, preventing new windows from opening and instead copying the target URL to the clipboard.

Features

  • Blocks window.open from opening new tabs or windows.
  • Copies the intercepted URL to the clipboard for easy access.
  • Only affects chat.deepseek.com, leaving other sites untouched.

Installation

  1. Install a userscript manager like Violentmonkey.
  2. Add the script to your userscript manager.
  3. Visit chat.deepseek.com and test by clicking links that use window.open.

Notes

  • This script ensures you don’t get redirected unexpectedly by blocking window.open calls.
  • You can manually paste copied URLs into your browser if needed.