It’s pretty new, so feel free to share any bugs, feedback or anything on GitHub!
Automatically*
Update! Now should work with any language select in Lemmy, not just post creation!
Add-on even lighter than before! Let’s save those bytes~
Wait a few hours for Mozilla to approve it then update to v1.1, or get it now from GitHub releases!
Honestly, with this add-on, the only feature that I’m really missing on Lemmy now is default comment sort in posts. I like sorting by Old, but don’t like having to manually select it every time I start reading through a post thread.
I could make another add-on for that, if you are interested
You would be my hero!
Well, it seems like it’s going to be a little more tricky. There’s no ID to detect the post sorting selection menu. For the language select, I could look for elements containing the ID
language-select
but it does not seem to be possible for post sorting.The best thing I could think of is to add
?sort=Old
,?sort=New
to the URL but it does not seem to affect the sorting unless the button is actually clicked or the page fully reloads.If I could consistently select the elements that allow for filtering (and be careful that it doesn’t conflict with other types of filtering on other pages), I could do it, but right now I don’t see a solution.
Appreciate your looking into it and following up! Definitely didn’t expect to hear about it again. It’s people like you that make dark corners of the internet bright.
The best thing I can think of is to contribute to the Lemmy front-end itself, but since I’m not familiar with the framework they use, and how the project is structured, I don’t think I’ll be able to do it for the forseeqble future. Feel free to open an issue about this on their GitHub however!
Looks good. I’ve always found it annoying that lemmy doesn’t do this by default.
I’m not sure about the license though. Creative Commons recommends against using their licenses for software, since it doesn’t include terms regarding source code, doesn’t handle patents, and it’s usually incompatible with free software licenses.
Thank you for your feedback, I’ve switched to the GPL V3 license