4 ms·
Thank you, I wonder if I can somehow automatically twitter -> nitter in my hosts file or something.
by 0des 5y ago
Thank you, I wonder if I can somehow automatically twitter -> nitter in my hosts file or something.
- bmgxyz 5y agoI use the Redirector[0] browser extension to do this, and it works great. [0]: https://einaregilsson.com/redirector/ https://einaregilsson.com/redirector/
- 0des 5y agoGood lookin' out, thanks Edit: Here's the config I use to twitter -> nitter Redirect: https://twitter.com/\* to: https://nitter.net/$1 Hint: Any word after twitter.com leads to nitter Example:https://twitter.com/some-username → https://nitter.net/some-username Applies to: Main window (address bar), IFrames That got me wondering what other frontends there are for popular sites, and though I don't use reddit, I know a lot of folks do, so this should work for a thing I just found called 'teddit' which is inspired by Nitter Redirect: https://reddit.com/* to: https://teddit.net/$1 Hint: Any word after reddit.com leads to teddit Example: https://reddit.com/u/some-username → https://teddit.net/u/some-username Applies to: Main window (address bar), IFrames
- StingyJelly 5y agoPrivacy Redirect firefox browser plugin can do that: https://github.com/SimonBrazell/privacy-redirect https://github.com/SimonBrazell/privacy-redirect
- halostatue 5y agoIt doesn’t help in-browser, but if you’re on macOS and using Finicky, you can add this to your `~/.finicky.js` under the `rewrite` rules: { match: ({ url }) => url.host === 'twitter.com', url: ({ url }) => { return { ...url, host: 'nitter.net' } }, }, It goes along quite nicely with my `medium.com` to `scribe.rip` rule: { match: ({ url }) => url.host.endsWith('medium.com'), url: ({ url }) => { return { ...url, host: 'scribe.rip' } }, }, (It should be possible to make it pick a random list from nitter mirrors.) EDIT: Improved version that picks from random nitter redirectors (https://github.com/zedeus/nitter/wiki/Instances#third-party-nitter-services https://github.com/zedeus/nitter/wiki/Instances#third-party-...). It needs the following declared at the top of the `finicky.js` file: const NITTER_HOSTS = ['twiiit.com', 'twitit.gq'] const nitterHost = () => NITTER_HOSTS[Math.floor(Math.random() * NITTER_HOSTS.length)] Then the rewrite rule is: { match: ({ url }) => url.host === 'twitter.com', url: ({ url }) => { return { ...url, host: nitterHost() } }, },