🔗 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

คุณจะต้องติดตั้งส่วนขยาย เช่น Tampermonkey, Greasemonkey หรือ Violentmonkey เพื่อติดตั้งสคริปต์นี้

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

คุณจะต้องติดตั้งส่วนขยาย เช่น Tampermonkey หรือ Violentmonkey เพื่อติดตั้งสคริปต์นี้

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

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

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

ผู้เขียน
Pipecraft
จำนวนติดตั้งประจำวัน
4
จำนวนติดตั้งทั้งหมด
4,343
คะแนน
31 1 0
เวอร์ชัน
0.9.1
สร้างเมื่อ
21-04-2023
อัปเดตเมื่อ
03-01-2026
Size
92 กิโลไบต์
สัญญาอนุญาต
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.9.x
    • Optimize GM.* API fallback logic.
    • Improve compatibility with script managers such as Greasymonkey, quoid-userscripts, Stay, etc.
  • 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