4 ms·
A simple userscript should do the trick instead of HN changing the URL. var nitterUrl = window.location.toString().replace('twitter.com', 'nitter.net');
by ziml77 5y ago
A simple userscript should do the trick instead of HN changing the URL.
var nitterUrl = window.location.toString().replace('twitter.com', 'nitter.net');
window.location.replace(nitterUrl);
Though if you want to be sure you never send a single packet to Twitter, you'll have to make a script that operates on all sites and rewrites URLs in the anchor tags.
Edit: Just saw someone mention this extension which could be a better option https://github.com/SimonBrazell/privacy-redirect https://github.com/SimonBrazell/privacy-redirect
- ShowalkKama 5y agoredirector is another alternative but on mobile it's a pain in the ass (you could make an userscript with ff nightly iirc)