this post was submitted on 16 Jun 2023
19 points (100.0% liked)

Lemmy Plugins and Userscripts

2138 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
 

Notably for this community is the inclusion of the "lemmy-site" class on the #app div

top 11 comments
sorted by: hot top controversial new old
[โ€“] [email protected] 6 points 1 year ago (1 children)

@[email protected] @[email protected], this PR was merged and will be released with 0.18

I'll see what I can do about those other requests ๐Ÿ˜‰

[โ€“] mershed_perderders 2 points 1 year ago

Excellent work! Thanks

[โ€“] mershed_perderders 3 points 1 year ago (1 children)

This is excellent and would have made coding the UI script so much easier!

[โ€“] [email protected] 3 points 1 year ago (1 children)

That's what kicked this whole thing off! I realized I was going to have to do all kinds of dumb stuff just to identify if I was actually looking at a lemmy site with any amount of certainty, and then it grew from there

[โ€“] mershed_perderders 1 points 1 year ago (1 children)

it was SO painful and hacky. Still will be until this gets out there.

[โ€“] [email protected] 1 points 1 year ago (3 children)

Please check the PR and let me know if there's anything I missed as far as good candidates for CSS targeting. I tried to use a light touch while being mindful of the different ways people may want to style both visible and parent structures

[โ€“] mershed_perderders 1 points 1 year ago

the thing that bugged me (and continues to do so) is the different uses of .container-lg among the pages.

It is used differently between the community, search, main, and alert/messages area and it killed me trying to figure out the spacing relative to each use. In some cases I gave up...

[โ€“] [email protected] 1 points 1 year ago (2 children)

Here's a few that would be helpful based on stuff I ran into in my userscript

[โ€“] [email protected] 3 points 1 year ago

I just pushed a commit for the more-btn suggestion. The others look a bit more involved, but I think they are do-able. However I'm going to leave them for a separate PR as I would like this make sure this one gets into 0.18. That said I should be able to look into them next, just want to break this off and get it merged.

[โ€“] [email protected] 1 points 1 year ago* (last edited 1 year ago)

Having all the various interaction buttons labeled, having a separate left-hand vs. right-hand footer location etc. would be helpful.

Being able to have a link from a comment to scroll up to the parent or up to the root like HackerNews would be fantastic but is currently kinda difficult without a lot of looping (slow on big threads)

[โ€“] mershed_perderders 1 points 1 year ago

looking at it now...

load more comments
view more: next โ€บ