🏠 Home 

Intercept and Copy window.open URLs (DeepSeek)

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


Install this script?
Author
Cochinver
Daily installs
0
Total installs
2
Ratings
0 0 0
Version
1.0
Created
2025-02-19
Updated
2025-02-19
Size
384 Bytes
License
N/A
Applies to

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.