Re:Cool ice formations my friend discovered on his deck this...
by 0des on Sunday February 06, 2022 @02:16PM
(#30235882)
Thank you, I wonder if I can somehow automatically twitter -> nitter in my hosts file or something.
[ Parent
| on HN ]
Re:Cool ice formations my friend discovered on his deck this...
by halostatue on Sunday February 06, 2022 @04:39PM
(#30237285)
It 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-...). 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() }
},
},
Re:Cool ice formations my friend discovered on his deck this...
by StingyJelly on Sunday February 06, 2022 @04:08PM
(#30237015)
Privacy Redirect firefox browser plugin can do that: https://github.com/SimonBrazell/privacy-redirect
Re:Cool ice formations my friend discovered on his deck this...
by bmgxyz on Sunday February 06, 2022 @02:32PM
(#30236068)
I use the Redirector[0] browser extension to do this, and it works great.
Re:Cool ice formations my friend discovered on his deck this...
by 0des on Sunday February 06, 2022 @02:55PM
(#30236315)
Good 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
Re:Cool ice formations my friend discovered on his deck this...
by dublinben on Sunday February 06, 2022 @04:45PM
(#30237334)
Here's a great compilation of privacy-preserving, JS-free front-ends for many popular sites like Twitter, Reddit, Youtube, and more: https://github.com/mendel5/alternative-front-ends