Greasy Fork

Greasy Fork is available in English.

Wikipedia Open Specific Links in New Window (Including Homepage)

在维基百科中点击特定蓝色链接时自动弹出新窗口,排除图片和媒体文件链接,并确保在首页也生效。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Greasemonkey 油猴子Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Userscripts ,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

作者
aidalei
日安装量
0
总安装量
2
评分
0 0 0
版本
0.4
创建于
2025-02-21
更新于
2025-02-21
大小
1.1 KB
许可证
MIT
适用于

此脚本完全由 ChatGPT 创作,我只是复述了要求。它旨在优化在维基百科页面上点击蓝色字体链接的行为,确保在点击链接时弹出新窗口,而不会直接跳转到当前页面。该脚本排除了图片和媒体文件链接,避免它们也弹出新窗口。

This script is fully created by ChatGPT, I just rephrased the requirements. It is designed to enhance the behavior of clicking blue links on Wikipedia pages, ensuring that the links open in a new window instead of navigating to the current page. It excludes image and media file links to prevent them from opening in a new window.

使用方法/Usage:
安装并启用此脚本。

在维基百科页面上点击任何蓝色链接,除了图片和媒体文件链接,都会在新窗口中打开。

Install and enable the script.

Click any blue link on a Wikipedia page, and it will open in a new window, except for image and media file links.