this post was submitted on 23 Jun 2023
21 points (100.0% liked)

Lemmy Plugins and Userscripts

2171 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 1 year ago
MODERATORS
 

0.18 is now officially available. I expect it will be a few days as instance owners test the upgrade and decide whether or not to switch over. Especially since the captcha fix isn't coming until 0.18.1.

Relevant to this community is the fact that this upgrade includes two different PR's (1, 2) that add a number of semantic classes and ID's to the markup to aid in the creation of custom themes, userscripts, and browser extensions. Additionally the UI has been upgraded to use Bootstrap 5.

However it should be noted that Desallines has explicitly stated that there is no official support for anything utilizing these classes, and that the UI framework is going to be changed in a future update.

This means you're targeting these classes/ID's at your own peril, and they may break in a future update. They want to keep theming as light as possible rather than adding lots of custom hooks that people will then become dependent on and expect ongoing maintenance/support.

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

This means you’re targeting these classes/ID’s at your own peril, and they may break in a future update.

Me who's just released a script using CSS selectors:

[–] [email protected] 4 points 1 year ago (1 children)

I have been working a lot on my own Lemmy app that is based exclusively on the websocket api. Picture my face when I read that they removed it entirely in v18 😵‍💫

[–] [email protected] 4 points 1 year ago

Oof. That's the one peril of developing something that is still very very new. Hopefully it isn't too much of a hassle for you to migrate.

[–] [email protected] 2 points 1 year ago (1 children)

You should be fine if you didn't use any of the new classes/ID's, but expect that if you do they may change in the future and the devs expect you to manage that yourself.

[–] [email protected] 1 points 1 year ago* (last edited 1 year ago)

Cool, and thanks for posting the update!