This script transforms links from other instances to your home instance. So useful :)
As @MedicareForSome@lemmy.ml explained:
It makes it so that if you visit another instance using their URL, it will redirect you to your home version’s federated link.
E.g. if your home server is Lemmy.world, let’s say you find a link to Lemmy on another website but it’s a link to Lemmy.ml. If you click the link, you won’t be signed in.
So like:
https://lemmy.ml/c/memes would redirect to https://lemmy.world/c/memes@lemmy.ml
This way you can seamlessly use Lemmy.
It does the same for posts.
Edit: since it works from any site, I highly recommend you to add it to your Android browser so it will work with webapp clients here’s how:
You can use violentMonkey on ff browser too, but you need to unlock Dev options, then do this
Yes don’t get me wrong, like its a cool feature, but I am very well aware that it’s neither complex nor a lot of work, but it has to start somewhere. I was just trying to encourage pushing good features to the whole platform. But I got you, you internalized the idea behind FOSS, decentralized digital infrastructure structure owned by people not big corp, you want to be paid for your 10 line “algorithm”.It’s OK.
lol, why don’t you do it then?
I will most probably do that. I also thought about hitting your repository with a merge request and more optimized code.
Sounds good :)