this post was submitted on 16 Jul 2023
15 points (100.0% liked)

Lemmy Plugins and Userscripts

375 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
 

After my post with the comment sorting script yesterday, I thought that since I was already doing script rewriting I might as well go further, so here is a script implementing infinite scrolling for the home page and communities on Lemmy.

I didn't publish it as a separate script to comment sort since both are incompatible, as they both edit lemmy's client.js. If sorting comments by Top annoys you, just change the defaultSort back to Hot in the script.

Edit: Fixed the spinner on instances other than lemmy.world.

top 3 comments
sorted by: hot top controversial new old
[–] melonpunk 2 points 1 year ago

Put it in to FireFox and I get this.

Script error in [Greasemonkey script null/Lemmy Sort and Scroll; version 0.3]: TypeError: MutationObserver.observe: Argument 1 is not an object.

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

Thanks, I'll try this tomorrow!

[–] meowseum 1 points 1 year ago

worked, wondering if you can add an option to default opening topic/thread in a new tab