ICYMI: This RES-like script allows you to navigate Lemmy with just your keyboard

Link here --> https://github.com/vmavromatis/Lemmy-keyboard-navigation

Feel free to give it a spin, all major browsers are supported (Chrome, Firefox, Opera, Edge). Feel free to leave any suggestions on github https://github.com/vmavromatis/Lemmy-keyboard-navigation/issues

Hope you like it!

17 points · 5 comments · view on lemmy.world

5 Comments

TCB13@lemmy.world · 4 pts · 2y (4 replies)

This is great! Thank you for taking the time to make it so.

Anyways, since you're into fixing Lemmy, may I make a suggestion? What about a simple script to fix the language selector annoyance that plagues this platform?

I've to choose the post language at every single post/comment I write. Since Lemmy developers seem to be inept when it comes to basic user friendliness maybe a script that selects "English" automatically would be appreciated.

Seriously, this is bullshit and the person who designed this should have a few points removed from their social credit score. Wasn't it obvious that a dropdown under settings to pick the default language was necessary? :P

Even worse, when I edit a comment/post I suddenly have to pick the language again.

Update: I just remembered that at some point I even filled this https://github.com/LemmyNet/lemmy-ui/issues/2317

Thank you.

RobotToaster@mander.xyz · 4 pts · 2y (1 reply)

I really don't get that either. They went to the trouble of adding a warning in settings, that deselecting undefined from shown languages will hide most content, but chose not to add an account level default language option.

TCB13@lemmy.world · 1 pts · 2y

Yes, and they don't seem to care much: https://github.com/LemmyNet/lemmy-ui/issues/2317

afoutopatisa@lemmy.world · 2 pts · 2y (1 reply)

This should be as easy as document.getElementsByClassName("form-select w-auto d-inline-block")[0].selectedIndex = 38, I gave it a try and works on console but can't get it to select after DOM load. I'll give it another try once I have the time and create a separate script as this is outside the scope of the original script ;)

TCB13@lemmy.world · 1 pts · 2y

Doesn't seem to work on mine tho.

Uncaught TypeError: Cannot set properties of undefined (setting 'selectedIndex')
    at :1:87