Coder Social home page Coder Social logo

dybdeskarphet / privacy-redirector Goto Github PK

View Code? Open in Web Editor NEW
89.0 2.0 11.0 286 KB

🔀 Redirect social media platforms to their privacy respecting frontends

Home Page: https://greasyfork.org/scripts/436359-privacy-redirector

License: GNU General Public License v3.0

JavaScript 100.00%
privacy userscript redirect social-media social social-network alternative-frontends javascript redirector

privacy-redirector's People

Contributors

carbolymer avatar dybdeskarphet avatar dyras avatar joshcangit avatar liam-h avatar namazso avatar rozari0 avatar softwarerat avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

privacy-redirector's Issues

Suggestions regarding Bibliogram.

While it's good to bring attention to the fact that Bibliogram is, effectively, an abandoned project, there are still a few instances running and reasons for people to use it over Instagram proper.

Unfortunately, out of the three instances recognized by Farside, one is a broken link. This instances (bibliogram.1d4.us) is also one of the two instances listed as a backup option with Farside disabled.

So I propose the following updates.

  1. Disable Bibliogram Farside by default.

  2. remove bibliogram.1d4.us from the default list, and replace it with bibliogram.froth.zone

  3. Add the option to disable the "bibliograph is abandoned" warning (anyone who would willingly enable bibliogram is likely aware of the project's condition.

Twitter redirect doesn't work properly due to recent Twitter changes

Recently Twitter changed so you have to log in to view tweets.

If you open a profile without log in like
https://twitter.com/elonmusk

Twitter changes URL immediately to the login page
https://twitter.com/i/flow/login?redirect_after_login=%2Felonmusk

And the redirect only changes the domain so it becomes like this
https://nitter.net/i/flow/login?redirect_after_login=%2Felonmusk
which obviously doesn't work.

When it should be
https://nitter.net/elonmusk

Could you fix this please?
Thanks.

Feature request: Exclude certain sites from the redirect

Hello! I'm in love with this script, as I find it works better than the Privacy Redirect extension.

However, I wish I could exclude YouTube from the redirection. Primarily because I use scripts for YouTube for screenshots, larger window, etc.

Would a setting like this be possible to implement? :)

Bibliogram: Redirect only post and reel links.

It is well documented that Bibliogram is currently unmaintained and abandoned by the developer, however there are still some key instances running, albeit they only work for posts and reels (IE: actual content). You can't redirect users pages, nor can you search for pages.

Even so, basic redirections of posts and reels still work, but this script is currently hardwired to redirect every path to Instagram.

I propose altering the code so only posts/reels are redirected, at least until a new developer takes over Bibliogram, or a proper alternative surfaces.

Alternatively, this behavior could be a switch in the same vein as enabling Farside or individual sites.

Update Libremdb paths.

There are more instances of Libremdb using more paths and search options than before. This script still redirects only paths for movies/shows.

I've submitted a separate issue to Farside to update their instance list, and once it goes through you shouldn't have to worry about redirecting to outdated Libremdb instances again.

Feature Request: Instance Blacklist/Whitelist

By default, most of the redirects (YouTube/Twitter specifically) use FarSide to ensure that they always redirect to the most readily available and stable instance, acting as a sort of wild card.

However, some instances have preferences I'm not a fan of, such as default languages or disabled features.

I would appreciate being able to set up a blacklist/whitelist of instances FarSide uses, if possible.

Alternatively, being able to disable FarSide for individual redirects and instead use a pool of pre-chosen instances like with Bibliogram or Proxitok would be welcome as well. It seems when Farside Support was added that this option was dropped for YouTube/Twitter in favor of FarSide. I think there's value in keeping it an option though, even though FarSide is clearly more efficient.

Disabling Farside for Twitter Leads to Redirect Error

I’ve been using this script for months and it’s fantastic, but I did run into this small issue. When disabling Farside for Twitter, the Nitter instance’s URL that I’m redirected to always contains an encoded slash instead of the slash itself. For example:

https://nitter.d420.de/elonmusk%2Fmedia

Redirection is successful only if the URL I’m redirecting from doesn’t contain anything after a user’s Twitter handle, slashes and all.

(I’m using Violentmonkey 2.16.0 via Firefox 119.0.1)

Make YouTube embed use Invidious

LibRedirect currently have feature to redirect YouTube embeds into Invidious, and I would like to see feature to detect YouTube embeds into Invidious embeds instead.

Optionally support farside's redirect-preserving "/_/" links

Hi Arda! Thanks for making this script. I'm testing it out in Mull on Android, as a replacement for the UntrackMe app.

Since benbusby/farside@932f3bb in late Jan 2022, Farside has permitted links prefixed with /_/. These "redirect-preserving" links issue the redirect with a JS fragment, in a way that keeps the redirection page in the history. If an instance is down, or is testing falsely, a different instance can be chosen by pressing the browser's back button. I find it quite useful!

Please can you add a variable to append the /_ when farsideInstance is used? The same effect can be achieved by editing that variable, but it might be cleaner to do as a boolean.

It would be quite sensible as default behaviour, but that's up to you! :D

captchas no longer working

Since the latest update, (google) captchas to prove that one is not human are only loaded after disabling this user script.

Feature request: Use Farside instances

There are some instances in the script that are dead, like alefvanoon.xyz and silkky.cloud for example (there may be more). It gets a little annoying that I have to type the link again whenever I get redirected to a dead instance.

Instead, use farside.link for redirects. It automatically checks for online instances and there is no need to hardcode a list of instances.

Add Configuration

It would be nice if Privacy Redirector added a configuration page to allow customizing settings without them being reset on updates. GM_config could be used for this purpose.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.