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.
I’m currently using const prefersDarkTheme = window.matchMedia(‘(prefers-color-scheme: dark)’).matches; but it doesn’t take into consideration users that use a light system with a dark website....
I made a Firefox addon that replaces the styles on Lemmy instances with something more modern. It works with Lemmy 0.17 and 0.18. It supports both light and dark theme....
Just an FYI post for folks who are new or recently returning to Lemmy, I have updated the linked grease/tamper/violentmonkey script for Lemmvy v0.18....
I put this together based on another very similar script (attributed, of course) I found on beehaw that forces external links to open in a new tab. Should work on every Lemmy instance by checking the header. While it uses http*:/// as the match, it only executes any logic if the isLemmy check returns true....
I came across this one on userstyles.world and didn’t see it referenced here. It’s probably the most ‘old reddit’ looking of all of the one’s I’ve seen so far....
If you try to access a community on your local instance and it gives you a 404, this automatically takes you to your local instance’s search instead and puts the community in for you....
i personally sometimes found it a little hard to visually distinguish between comments in really long threads so i made this simple userstyle that remedies the problem for me by adding a semi-transparent background to comments....