🔗 Links Helper

Open external links in a new tab, open internal links matching the specified rules in a new tab, convert text to hyperlinks, convert image links to image tags(<img>), parse Markdown style links and image tags, parse BBCode style links and image tags

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

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

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

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

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

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

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

作者
Pipecraft
今日安裝
4
安裝總數
4,322
評價
31 1 0
版本
0.8.9
建立日期
2023-04-21
更新日期
2025-12-26
尺寸
85.1 KB
授權條款
MIT
腳本執行於
所有網站

🔗 Links Helper

Open external links in a new tab, open internal links matching the specified rules in a new tab, convert text to hyperlinks, convert image links to image tags(<img>), parse Markdown style links and image tags, parse BBCode style links and image tags.

Support all sites includes Google search, Youtube, GitHub, Greasy Fork etc.

  • Open external links in a new tab ✅
  • Enable/Disable userscript per site ✅
  • Setting for url rules, open links matching the specified rules in a new tab ✅
  • Convert text to hyperlinks ✅
  • Convert image links to image tags ✅
  • Parse Markdown style links and image tags ✅
  • Parse BBCode style links and image tags ✅
  • Erase links from the page ✅

screenshots


screenshots


screenshots

Usages

Examples of rules that open links in a new tab

Site Rules Notes
Youtube ^/watch
^/shorts
Video player page
X (Twitter) ^/\w+$ User profiles
X (Twitter) /status/ Tweets (click the dates links)
Discourse ^/t/ Post page
Discourse ^/u/[^/]+$ User page
Flarum ^/d/ Discussions
GitHub /issues/\d+$ Issue page
V2EX ^/t/\d+ Subject page
V2EX ^/member/[^/]+$ Member page
V2EX ^/settings Settings page
V2EX ^/notifications Notifications
GreasyFork /scripts/[^/]+$ Script page
GreasyFork /discussions/\d+$ Discussion page
General * All links
General !/posts/new
/posts/
Posts pages except new post page (/posts/new)

Other

Compatible with the following userscript managers

  • Tampermonkey (Recommended)
  • Violentmonkey
  • Greasemonkey
  • Userscripts (Safari)

About

More Useful Scripts

🏷️ UTags - Add User Tags to Links

  • Link: Greasy Fork
  • Features: Add custom tags and notes to user, post, video and other links
  • Highlights: Support special tag filtering (like spam, block, clickbait, etc.), data export/import, auto-mark viewed posts
  • Supported Sites: V2EX, X(Twitter), Reddit, GitHub, Bilibili, Zhihu, Linux.do, Youtube and 50+ websites
  • Description: Super useful tag management tool for adding tags to forum users or posts, making it easy to identify or block low-quality content

🧰 UTags Advanced Filter

  • Link: Greasy Fork · ScriptCat · GitHub
  • Features: Real-time filtering and hiding of scripts on GreasyFork
  • Highlights: Available as both a userscript and a browser extension
  • Supported Sites: Greasy Fork
  • Description: A tool that supports real-time filtering and hiding on GreasyFork, available in userscript and browser extension versions

⚡ UTags Shortcuts

  • Link: Greasy Fork · ScriptCat · GitHub
  • Features: Per-site grouping, icon support, floating or sidebar navigation panel
  • Highlights: Floating/Sidebar modes, URL/JS script support, visual editor, keyboard shortcuts
  • Supported Sites: All websites
  • Description: A powerful userscript that streamlines your browsing workflow with a customizable navigation panel for quick access to favorite links and scripts

🔍 Find Scripts For This Site

  • Link: Greasy Fork · ScriptCat · GitHub
  • Features: Quickly find scripts for the current site across multiple repositories
  • Highlights: Settings dialog, real-time sync, smart domain extraction
  • Supported Sites: All websites
  • Description: A user script to quickly find scripts for the current site across multiple repositories, now with a settings dialog and real-time sync across tabs

Related Userscripts

Release Notes

  • 0.8.x
    • Fix compatibility issues with utags-shortcuts
    • Add setting option to treat subdomains as the same site for the current site
    • Browser extension version supports opening settings
    • Add setting option to open new tab in background, default off
  • 0.7.x
    • Handle discourse, flarum, v2ex topic page same page links
    • Add separate switch setting for whether to parse text links to hyperlinks, V2EX default on, other sites default off
    • Support exclusion rules for internal URL patterns (prefix '!' means exclude)
    • Support setting language, default auto switch according to browser language
  • 0.6.0
    • Support multi-languages
  • 0.5.4
    • Prevent converting image links in file list view
  • 0.5.3
    • Prevent converting links in code viewers, code editors and code diff viewers
  • 0.5.2
    • Fix String.prototype.replaceAll issues
  • 0.5.1 2023.07.24
    • Fix TrustedHTML issues
  • 0.5.0 2023.07.21
    • Erase links from the page
  • 0.4.3 2023.07.10
    • Hide settings button in side menu by default
    • Update settings module
  • 0.4.2 2023.07.07
    • Add setting option for converting image links to image tags
  • 0.4.1 2023.07.04
    • Fix settings style on mobile devices
  • 0.4.0 2023.06.30
    • Update settings module
  • 0.3.5 2023.05.17
    • Fix some edge cases
  • 0.3.4 2023.05.16
    • Parse BBCode style links and image tags
    • Update parsing links logic
  • 0.3.3 2023.05.11
    • Fix parse markdown style text
  • 0.3.2 2023.05.10
    • Parse Markdown style links and image tags
  • 0.3.0 2023.05.10
    • Convert image links to image tags
  • 0.2.0 2023.05.09
    • Convert text to hyperlinks
    • Fix opening internal links in a new tab in SPA apps
  • 0.1.3 2023.05.08
    • Fix compatibility issues on Violentmonkey, Greasemonkey(Firefox), Userscripts(Safari)
  • 0.1.1 2023.04.23
    • Change to run_at: document_start
  • 0.1.0 2023.04.23
    • Setting for url rules, open links matching the specified rules in a new tab
  • 0.0.2 2023.04.22
    • Add settings menu
    • Enable/Disable userscript
    • Enable/Disable current site

License

Copyright (c) 2023 Pipecraft. Licensed under the MIT License.

>_

Pipecraft UTags