It supports both links and embeds and is available on firefox for android. List of sites is on github. I’m the main developer so you can ask questions.
Is there any exception possible? On mobile I want to redirect everything to my invidious instance, but on my PC I want the same, except for youtube.de itself.
In short: redirect YouTube to invidious but not youtube.de 🤔
The extension currently doesn’t handle YouTube.de (unless it is redirected to YouTube.com) but you can choose your custom instance. I’ll add more features soon
It would be great if we could have a YAML config within the settings for all custom (or not) redirects. And if such lists were synced from some repo and then only locally sorted or trimmed by …ping, for example. Something like:
- source site RegEx to match:
- redirect to this instance
- or here’s another one, maybe even with a different alternative frontend.
- source site RegEx to match:
so this is similar to LibRedirect?
https://github.com/libredirect/browser_extension
https://libredirect.github.io/
check out this list of privacy frontends and see if you can implement any of them in PredirectAlso, I see that you only handle one instance for redirect. Either the default instance or custom instance.
Consider implementing multiple instances. Here is list of instances that LibRedirect uses:
https://raw.githubusercontent.com/libredirect/instances/main/data.json
Here is a list of instances that Farside.link uses:
https://raw.githubusercontent.com/benbusby/farside/master/services-full.jsonBoth LibRedirect and Farside still have to deal with the rate-limiting problem with Youtube and Reddit and I assume other sites as well. Invidious instance or Teddit instance can be rate-limited, resulting in video not playing or post not showing up.
If your extension does not distribute user traffic across multiple instances, then I assume that your chosen instances will get hammered into ratelimit even faster than other instances.
So consider thinking about solution for this.
One of suggestions that I like is to allow user to provide an URL to a list of instances.
That way, someone or some automated system can periodically compose a list of instances and users can “subscribe” to that list.Also some useful links:
https://github.com/digitalblossom/alternative-frontends
https://github.com/pluja/awesome-privacy#social-networks-and-platforms
https://github.com/mendel5/alternative-front-ends
https://matrix.to/#/#alternative-frontends:tchncs.deYes, Predirect currently chooses randomly from list of instances from farside/official(I’ll make it updatable/refreshable in near future) or one custom instance (I’ll also add editing list of custom instances in far future) [ofc if chrome store allows these two]. I didn’t add libredirect/reddit due to ratelimiting problems and GotHub, anonymous overflow due to usability issues. I’ll add search, maps in near future and also others. Predirect does distribute traffic by randomising instances so not an issue. Thanks for suggestions and contributions are welcome for any of these
Excellent stuff! Been looking for something like this and while I love greasemonkey it’s a bit fiddly on Android so this is a great, much simpler, alternative!
Redirector works perfectly on Android.
Nice work!