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

Lemmy Plugins and Userscripts

2187 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
 

The developers will try to make it posible

all 29 comments
sorted by: hot top controversial new old
[–] asararai 6 points 2 years ago (1 children)

A way to expand all images when using old.reddit.compact? I mean similar to RES in old reddit

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

@asararai @GatoB Man I would LOVE something like this. That and something similar to Never Ending Reddit

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

Would love to have a sidebar on the left with all my subscribed communities for easy navigation.

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

ditto, or drop down, or some other way.

[–] nyahlathotep 4 points 2 years ago* (last edited 2 years ago) (1 children)

I don't have much scripting experience. Would it be possible to to add a button on each post to block a community without having to open it? Maybe hide it under the breadcrumbs so you don't accidentally block something you don't want to.

Edit: Also, is it possible to change post links to always open in a new tab when you click them?

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

Yes please, being able to easily block communities in languages I don't speak would be great. :)

[–] Whooping_Seal 4 points 2 years ago

I think a "never ending Lemmy" similar to the "never ending Reddit" feature in RES would be appreciated by many people.

[–] StrayingTimbuktu 3 points 2 years ago* (last edited 2 years ago) (2 children)

User flairs would be cool. Also a script that opens the current instance's version of a post or community when I click on an external instance link.

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

I think since it is a useful feature the developers of Lemmy are or will work in it with no need of scripts

[–] god 3 points 2 years ago* (last edited 2 years ago)

The second thing you requested is here, to redirect a community to your instance.

But posts, I don't think that's possible, at least I tried a lot and met a few impossibilities due to the fact that posts are just numbers in the url like this: localinstance.tld/post/numbers, and these numbers will be different in remoteinstance.tld/post/differentnumbers.

https://sh.itjust.works/post/70143

[–] FigMcLargeHuge 3 points 2 years ago* (last edited 2 years ago) (1 children)
  1. ~~Looks like we can block users, but it would be helpful to be able to block communities (local and remote).~~ I think I figured this one out. Go to the community itself and there's a block button.
  2. I was watching posts and they just started scrolling, I am assuming as the server synced up with another node. Anyway we could get a button to "Pause" our screen updates. I kind of like that they just scroll, but sometimes I would like to just pause it.
[–] mershed_perderders 2 points 2 years ago* (last edited 2 years ago) (1 children)

I believe that's a lemmy bug relating to how federated instances are being updated on the user's home site. They are (presumably) addressing it, but I'm not sure that can be directly addressed with a script since it relies on backend database things happening.

[–] FigMcLargeHuge 2 points 2 years ago

Gotcha. Thanks for the explanation.

[–] [email protected] 3 points 2 years ago (2 children)

It would be great if a post links to a mp4, be able to play it inline like in RES.

[–] [email protected] 3 points 2 years ago (1 children)
[–] mershed_perderders 5 points 2 years ago* (last edited 2 years ago)

Reddit Enhancement Suite. It ~~was~~ is a critical extension for browsing reddit on desktop

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

update to this, someone told me videos don't play inline because of content-security-policy header, and maybe that will work in the next version? https://github.com/LemmyNet/lemmy-ui/pull/1092 If so, then maybe a hack isn't needed. Surely I can't be the only one that wants to view things inline when on desktop, and that feature will come at some point for everyone. :)

[–] Mstraa 3 points 2 years ago (2 children)

Add "Target="_blank" to every href on Lemmy !

I might try to do it myself but I never did a [...]monkey script before

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

I'm constantly have to go back when I click on anything that get me out of my instance. I love to open new links in tab when it's not an "internal navigation" clic. I saw the Lemmy dev saying it is an accessibility issue but if someone wants to make a user param, he can do a PR.

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

"ctrl" is your friend.. but yeh, it is a little annoying that external links open in same window

[–] Mstraa 1 points 2 years ago

It's cmd for me ;)

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

I would love a script that enables infinite scrolling like RES.

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

Yes please!

[–] troublecat 2 points 2 years ago* (last edited 2 years ago)

I'd like to see something to identify the same post cross-posted to several communities. For example, it could look to see if the OP, title of post, and source (linked URL, or with images, maybe the filename or size of the image) match other posts exactly and then collapse the post if so (rather than suppressing it outright in case you want to open it to interact with the comments, etc.).

If it could have the option to set a preferred community/instance (either your local instance, a specific community, or the first community with the post if you don't have a preference), that would also be wonderful.

Thank you!

ETA changed part about identifying images in the first paragraph

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

A script to open all external links as well as posts in a new tab, please!

[–] 1selxo 1 points 2 years ago

a script to watch redgifs and imgur in the site for lemmy nsfw