Intercept and Copy window.open URLs (DeepSeek)

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

作者
Cochinver
日安装量
0
总安装量
1
评分
0 0 0
版本
1.0
创建于
2025-02-19
更新于
2025-02-19
大小
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.