this post was submitted on 24 Jun 2023
28 points (96.7% liked)

Lemmy Plugins and Userscripts

2240 readers
1 users here now

A general repository for user scripts and plugins used to enhance the Lemmy browsing experience.

Post (or cross-post) your favorite Lemmy enhancements here!

General posting suggestions:

Thanks!

founded 2 years ago
MODERATORS
 

Next up is to actually rewrite post links, which is probably the most interesting feature.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 1 points 2 years ago* (last edited 2 years ago) (1 children)

I'm not sure what you're doing. If you "go to a lemmy instance, open options, set my home, and then go to a new instance, and the home is not saved" then I think you're doing it wrong.

If you press "Make this my home instance for URL rewriting" then the button should disappear. If you then go to another instance, also into the settings, then of course there the button "Make this my home instance for URL rewriting" will be there again, because this new instance is not your home, you just made the other one your home. Your home has been saved correctly if, at your home instance, there is NO button "Make this my home instance for URL rewriting" anymore. But at every other instance this button should be there, because all other instances are not your home.

And yes, you understood correctly how GM.setValue works.

PS. I deleted one of the comments, but apparently that has not been federated.

[–] [email protected] 1 points 2 years ago

Hm that was not my experience. I’ll try again tomorrow and report back