this post was submitted on 13 Jun 2023
12 points (100.0% liked)

Lemmy Plugins and Userscripts

2145 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
 

userscript called "old.reddit" found here: https://github.com/soundjester/lemmy_monkey

  • (recently updated for Lemmy v0.18)

  • original thread link here

  • This is primarily for desktop clients. At the moment, formatting get a little crazy below 1280 px wide. There are ways to address this, but I have not at this time.

  • script will be updated as suggested

    • significant changes have been made to address alignment, spacing, and other format issues. v1.1 will be where I stop for a while.
  • there are two script versions: old.reddit and old.reddit.compact. The primary difference is that the "compact" version greatly reduces thumbnail size and padding space.

  • notice: current script unblurs NSFW

(linked thumbnail shows old.reddit.compact version of the script)

Screenshot of old.reddit script results:

top 21 comments
sorted by: hot top controversial new old
[–] NoisyFlake@feddit.de 2 points 1 year ago (1 children)

Awesome work! Would it be possible to add the "expand image/video/text" button from RES? Preferably with the option to increase/decrease the size of images by dragging with the mouse.

I'm talking about these: https://imgur.com/a/1yH5FTN

That would perfect my experience!

Here's a userscript that auto-expands images: https://sh.itjust.works/post/164735 it's nice because it keeps the scripts a little more single-purpose so that if one malfunctions, the other stays working. Incorporating all of the things would be perfect for a plug-in, which is being discussed.

[–] god@sh.itjust.works 1 points 1 year ago (1 children)

BTW, I love your themes but I haven't been using them cuz I have a very wide screen, it's like 80cm ez, and the margins are necessary lol, maybe i'll add some surround margins to the compact theme to create a version that works 4 me.

[–] mershed_perderders@sh.itjust.works 1 points 1 year ago* (last edited 1 year ago) (2 children)

how big we talking in pixels? I can add some more @media tags (probably)

[–] god@sh.itjust.works 1 points 1 year ago* (last edited 1 year ago) (2 children)

3440px wide

::: spoiler screenshots

[–] mershed_perderders@sh.itjust.works 2 points 1 year ago (1 children)

When you get a free moment, check out one of the script updates here: https://github.com/soundjester/lemmy_monkey/tree/dev-Lemmy-v0.17.

I've cleaned up a lot of things and added a big-screen handler around line 120. Perhaps you can experiment with the width as you like and let me know what works.

[–] god@sh.itjust.works 2 points 1 year ago

dats beeeg. ok thx

[–] mershed_perderders@sh.itjust.works 1 points 1 year ago (1 children)

I don't want to pat myself on the back TOO hard, but I just browsed through 44 pages of content and it was SO NICE and easy on the eyes.

[–] darkwing_duck@sh.itjust.works 1 points 1 year ago (1 children)

The widescreen really makes a difference.

[–] god@sh.itjust.works 1 points 1 year ago (1 children)
[–] darkwing_duck@sh.itjust.works 1 points 1 year ago (1 children)

Nice, thanks. Not sure I'll want to stay a mod if this picks up however :D

[–] god@sh.itjust.works 1 points 1 year ago (1 children)

lol why not?

and leaving is ez, there's a "leave mod team" button on the sidebar below the community name

[–] darkwing_duck@sh.itjust.works 0 points 1 year ago (1 children)

I have way too many responsibilities as it is, can't add another in good conscience, that's all

[–] god@sh.itjust.works 1 points 1 year ago

alright, no problem :)

[–] denemdenem@lemmy.world 1 points 1 year ago (1 children)

It looks really cool but the side margins are waaay too small for my taste. I tried putting some little 1rem margins back in the container css but that gave a bad bottom scrollbar (which is the most annoying on the communities list). It's getting late and there is work tomorrow but I might look into it more later.

I believe I've remedied this issue, if you want to take another look at it. link to script here: https://github.com/soundjester/lemmy_monkey

[–] Whooping_Seal@sh.itjust.works 1 points 1 year ago

If you are using greasemonkey, I suggest appending #.user.js to the end of the github raw url and then reloading the page, this should allow the css to be installed by greasemonkey and automatically updated.

[–] dimspace@lemmy.world 0 points 1 year ago (1 children)

nice job so far.

Communities page (both list and search) need some margins.

load more comments
view more: next ›