🌉 bridged from @draivin@lemmy.world by Tidepool
draivin
@draivin.lemmy.world.ap.tdpl.io
Lemmy Infinite Scrolling and Comment Sort
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 byTopannoys you, just change thedefaultSortback toHotin the script. Edit: Fixed the spinner on instances other thanlemmy.world.pastebin.com
Change Lemmy Default Comment Sort
Currently, Lemmy sorts the comments by
Hot, and there is no way to change this. This scripts changes the default behavior to sort byTop, this default can be changed by editing thedefaultSortvariable in the code.pastebin.com