🔗 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

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Greasemonkey lub Violentmonkey.

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

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Violentmonkey.

Aby zainstalować ten skrypt, wymagana będzie instalacja rozszerzenia Tampermonkey lub Userscripts.

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

Aby zainstalować ten skrypt, musisz zainstalować rozszerzenie menedżera skryptów użytkownika.

(Mam już menedżera skryptów użytkownika, pozwól mi to zainstalować!)

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.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Musisz zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

(Mam już menedżera stylów użytkownika, pozwól mi to zainstalować!)

Autor
Pipecraft
Dziennych instalacji
7
Wszystkich instalacji
4 369
Oceny
32 1 0
Wersja
0.11.5
Utworzono
21-04-2023
Zaktualizowano
08-01-2026
Rozmiar
101 KB
Licencja
MIT
Dotyczy
Wszystkie strony

🔗 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)

Installation

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.11.x
    • Add setting option to "Open internal links in current tab (override default)".
    • Support blacklist mechanism to skip processing for specific elements (e.g. Bilibili watch later button).
    • Add BewlyBewly "Watch later" button to blacklist.
    • Treat http/https and www/non-www as the same site when checking internal/external links.
  • 0.10.x
    • Support handling links inside Shadow DOM.
    • Support traversing nested Shadow DOM.
    • Add manual trigger actions in settings menu: "Convert text to hyperlinks" and "Convert image links to image tags".
  • 0.9.x
    • Optimize GM.* API fallback logic.
    • Improve compatibility with script managers such as Greasymonkey, quoid-userscripts, Stay, etc.
    • Add setting option to "Open new tab in background for all sites"
  • 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