GitHub Link Cleaner

remove github hydro tracking attrs from all links + force noreferrer/noopener

スクリプトをインストールするには、Tampermonkey, GreasemonkeyViolentmonkey のような拡張機能のインストールが必要です。

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

スクリプトをインストールするには、TampermonkeyViolentmonkey のような拡張機能のインストールが必要です。

スクリプトをインストールするには、TampermonkeyUserscripts のような拡張機能のインストールが必要です。

このスクリプトをインストールするには、Tampermonkeyなどの拡張機能をインストールする必要があります。

このスクリプトをインストールするには、ユーザースクリプト管理ツールの拡張機能をインストールする必要があります。

(ユーザースクリプト管理ツールは設定済みなのでインストール!)

このスタイルをインストールするには、Stylusなどの拡張機能をインストールする必要があります。

このスタイルをインストールするには、Stylus などの拡張機能をインストールする必要があります。

このスタイルをインストールするには、Stylus tなどの拡張機能をインストールする必要があります。

このスタイルをインストールするには、ユーザースタイル管理用の拡張機能をインストールする必要があります。

このスタイルをインストールするには、ユーザースタイル管理用の拡張機能をインストールする必要があります。

このスタイルをインストールするには、ユーザースタイル管理用の拡張機能をインストールする必要があります。

(ユーザースタイル管理ツールは設定済みなのでインストール!)

このスクリプトの質問や評価の投稿はこちら通報はこちらへお寄せください
作者
Spinfal
1日のインストール数
0
累計インストール数
2
評価
0 0 0
バージョン
1.1
作成日
2026/01/17
更新日
2026/01/17
大きさ
4.75KB
ライセンス
GPL-3.0-only
対象サイト

github link cleaner

this userscript strips github’s internal tracking attributes from all links and hardens link behavior for better privacy and security.

what it does

  • removes github hydro tracking attributes from every link
  • strips hovercard-related tracking metadata
  • forces rel="noopener noreferrer" on all anchors
  • watches the dom and cleans links added dynamically
  • keeps counters for how many links were cleaned
    • since page load
    • since script installation
  • prints clean, styled status logs to the dev console

why you might want it

github injects a lot of tracking metadata into links for analytics and ui behavior. this script removes that noise while preserving normal navigation, making links simpler, cleaner, and harder to abuse via referrer leaks or tab-nabbing.

notes

  • runs only on github.com
  • does not block network requests or break site functionality
  • uses localStorage only to persist a total cleaned-links counter
  • no external dependencies, no remote code