Thank you, I wonder if I can somehow automatically twitter -> nitter in my hosts file or something.
{
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() }
},
},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