Intercept and Copy window.open URLs (DeepSeek)

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

Autor
Cochinver
Instalações hoje
0
Total de instalações
2
Avaliações
0 0 0
Versão
1.0
Criado
19/02/2025
Atualizado
19/02/2025
Tamanho
384 Bytes
Licença
N/A
Aplicável a

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 元