Intercept and Copy window.open URLs (DeepSeek)

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

このスクリプトの質問や評価の投稿はこちら通報はこちらへお寄せください。
作者
Cochinver
1日のインストール数
0
累計インストール数
2
評価
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.
长期地址
遇到问题?请前往 GitHub 提 Issues,或加Q群1031348184

赞助商

Fishcpy

广告

Rainyun

注册一下就行

Rainyun

一年攒够 12 元