this post was submitted on 16 Jul 2023
12 points (92.9% 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
 

Currently, Lemmy sorts the comments by Hot, and there is no way to change this. This scripts changes the default behavior to sort by Top, this default can be changed by editing the defaultSort variable in the code.

all 5 comments
sorted by: hot top controversial new old
[–] Crul 2 points 1 year ago (1 children)

Hi, thanks for the script... but it doesn't seem to work for me. It changes the option to "Top", but the comment's order doesn't changes.

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

Thank you. It's very nice.

P.S. RIP vlemmy.net

[–] lemminer 0 points 1 year ago (1 children)

Yes you can on lemmy-ui. Go to setting and you can find the related sort options. It actually saves those setting in your account.

[–] draivin 6 points 1 year ago

I can see options to change the theme, type, sort type (for posts) and show NSFW content, but there are no options to change the sort type for comments as this script does.