this post was submitted on 21 Jun 2023
18 points (100.0% 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:
- Preface the submission with the type of enhancement - ex: [UserScript].
- Include a screenshot of the enhancement in use (where possible)
- Indicate the requirements for use (eg, greasemonkey, stylus, etc.)
Thanks!
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
~~
/post/
and/comment/
are also a couple other url schemes you can navigate to and fix (e.g. thehttps://feddit.de/post/822722
link in the OP~~. Nvm I think I just realized these numbers aren't canonical across instances. Surely the backend has an ID that every instance shares - is this exposed on the frontend? It would be cool if we could just go tolemmy.site/a9637e6c-780a-4de0-b02e-8277a54cb978
and it would navigate us to the post we want.Also, you might want to disconnect your observer while making changes, because I think any changes you make will cause some light recursion. An example of how I did it is here.
I did encounter the recursion problem during testing, it's already handled by checking if the link is set to the new domain.