🔗 Links Helper

Pipecraft
2023-04-21T07:00:42Z

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( ), parse Markdown style links and image tags, parse BBCode style links and image tags

🔗 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( ), 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 per site ✅

Setting for url rules, open links matching the specified rules in a new tab ✅

Open new tabs in background ✅

Convert text to hyperlinks ✅

Image proxy feature, fixes broken images due to network restrictions ✅

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 ✅

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

Chrome: Chrome Web Store

Edge: Edge Add-ons

Firefox: Firefox Addon Store

Userscript: Greasy Fork · ScriptCat · GitHub

About

Repository: https://github.com/utags/links-helper

Feedback: https://github.com/utags/links-helper/issues

More Useful Scripts

🏷️ UTags - Add User Tags to Links

Link: Greasy Fork · Greasy Fork · ScriptCat · GitHub

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

🖼️ Universal Image Uploader

Link: Greasy Fork · ScriptCat · GitHub

Features: Paste/drag/select images to batch-upload to Imgur/Tikolu/MJJ.Today/Appinn

Highlights: Auto-copy to Markdown/HTML/BBCode/Link, supports site buttons & local history, SPA-compatible

Supported Sites: All websites

Description: A user script that lets you paste, drag, or select images and batch-upload them to various providers, then auto-copy the result in your preferred format

Related Userscripts

新标签页打开链接 (Author X.I.U) - Open all links in a new tab

External link newtaber (Author almaceleste)

Open external link in new tab (Author eight)

文本链接自动识别为超链接 (Author DreamNya)

微信公众号文本地址转超链接 (Author runningcheese)

链接助手 (Author 一个北七)

Release Notes

0.14.x

Modify "Enable Current Site" setting logic.

0.13.x

Add setting to proxy SVG images (convert to PNG), default disabled.

Add image extension filtering to prevent proxying non-image files.

Support observing changes inside Shadow DOM for dynamic content updates.

Optimize mutation observer to handle Shadow DOM attachments automatically.

Fix: remove redundant output=png parameter for SVG proxying.

Add website blacklist for image proxy (e.g. for CSP restricted sites, such as GitHub, Twitter).

Auto-detect CSP restrictions and restore original images if proxying fails.

Optimize image proxy chain (using DuckDuckGo proxy for better privacy/availability, with fallback).

Fix: Skip DuckDuckGo proxy for specific domains (e.g. i.ytimg.com) to prevent loading failures.

Improvement: Enhanced proxy reliability with double-layer fallback (wsrv -> ddg -> wsrv -> original).

Fix: Stop error propagation for original image load failures.

Fix: Handle specific React hydration issues by cloning image elements.

Optimization: Built-in blacklist domains (e.g. localhost, cdnfile.sspai.com) are now strictly excluded even when the wildcard * rule is enabled.

0.12.x

Do not use duckduckgo proxy for SVG images.

Support proxying srcset attribute for responsive images.

Fix relative path resolution for proxy images.

Optimize image proxying to immediately process new image elements.

Add image proxy feature with global and per-site settings.

Support converting existing image tags to proxy URLs and optional WebP output.

Support wildcard * and exclusion !domain rules in image proxy domain list.

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-2026 Pipecraft. Licensed under the MIT License.

>_