Wikipedia Open Specific Links in New Window (Including Homepage)

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

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

You will need to install an extension such as Tampermonkey to install this script.

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 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.