GitHub Link Cleaner

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

θα χρειαστεί να εγκαταστήσετε μια επέκταση όπως το Tampermonkey, το Greasemonkey ή το Violentmonkey για να εγκαταστήσετε αυτόν τον κώδικα.

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

θα χρειαστεί να εγκαταστήσετε μια επέκταση όπως το Tampermonkey ή το Violentmonkey για να εγκαταστήσετε αυτόν τον κώδικα.

θα χρειαστεί να εγκαταστήσετε μια επέκταση όπως το Tampermonkey ή το Userscripts για να εγκαταστήσετε αυτόν τον κώδικα.

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

Θα χρειαστεί να εγκαταστήσετε μια επέκταση διαχείρισης κώδικα χρήστη για να εγκαταστήσετε αυτόν τον κώδικα.

(Έχω ήδη έναν διαχειριστή κώδικα χρήστη, επιτρέψτε μου να τον εγκαταστήσω!)

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.

(Έχω ήδη έναν διαχειριστή στυλ χρήστη, επιτρέψτε μου να τον εγκαταστήσω!)

Δημιουργός
Spinfal
Ημερήσιες εγκαταστάσεις
0
Σύνολο εγκαταστάσεων
2
Βαθμολογίες
0 0 0
Έκδοση
1.1
Δημιουργήθηκε την
17/01/2026
Ενημερώθηκε την
17/01/2026
Μέγεθος
5 KB
Άδεια
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