Created
July 2, 2026 10:48
-
-
Save MadaraUchiha/5b2155ba9dd9841c40e60190363fcc2d to your computer and use it in GitHub Desktop.
Redirect x.com to nitter.net (userscript)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // ==UserScript== | |
| // @name X to Nitter | |
| // @namespace https://github.com/MadaraUchiha | |
| // @version 1.0.0 | |
| // @description Redirect all x.com URLs to nitter.net, keeping the same path | |
| // @author MadaraUchiha | |
| // @match *://x.com/* | |
| // @match *://*.x.com/* | |
| // @run-at document-start | |
| // @grant none | |
| // ==/UserScript== | |
| (function () { | |
| 'use strict'; | |
| location.replace('https://nitter.net' + location.pathname + location.search + location.hash); | |
| })(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment