plugins
Lemmy Infinite Scrolling and Comment Sort https://pastebin.com/WvnWb9zx

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`.

10
3
plugins Lemmy Plugins and Userscripts Change Lemmy Default Comment Sort
Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearDR
    draivin
    1 year ago 100%

    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.

    6
  • plugins
    Change Lemmy Default Comment Sort https://pastebin.com/f2En5E7P

    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.

    10
    5