Greasy Fork is available in English.

🔗 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

Autore
Pipecraft
Installazioni giornaliere
3
Installazioni totali
4.234
Valutazione
31 1 0
Versione
0.8.6
Creato il
21/04/2023
Aggiornato il
11/11/2025
Dimensione
90,3 KB
Licenza
MIT
Applica a
Tutti i siti

🔗 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

    • Greasy Fork
    • Tag users or posts across popular sites; filter, export/import, auto-mark viewed posts
  • 🔄 Discourse Topic Quick Switcher

    • Greasy Fork
    • Quickly navigate between topics with keyboard shortcuts and a floating panel
  • 🔍 Find Scripts For This Site

    • Greasy Fork
    • One-click search for scripts relevant to the current website across multiple repositories
  • 🔃 Replace Ugly Avatars

    • Greasy Fork
    • Replace specified user's avatar (profile photo) and username (nickname)

Related Userscripts

Release Notes

  • 0.8.x
    • 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