17
submitted 11 months ago* (last edited 11 months ago) by afoutopatisa@lemmy.world to c/support@lemmy.world

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!

you are viewing a single comment's thread
view the rest of the comments
[-] afoutopatisa@lemmy.world 2 points 11 months ago* (last edited 11 months ago)

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 points 11 months ago

Doesn't seem to work on mine tho.

Uncaught TypeError: Cannot set properties of undefined (setting 'selectedIndex')
    at :1:87
this post was submitted on 27 Jan 2024
17 points (87.0% liked)

Lemmy.world Support

3250 readers
1 users here now

Lemmy.world Support

Welcome to the official Lemmy.world Support community! Post your issues or questions about Lemmy.world here.

This community is for issues related to the Lemmy World instance only. For Lemmy software requests or bug reports, please go to the Lemmy github page.

This community is subject to the rules defined here for lemmy.world.

To open a support ticket Static Badge


You can also DM https://lemmy.world/u/lwreport or email report@lemmy.world (PGP Supported) if you need to reach our directly to the admin team.


Follow us for server news ๐Ÿ˜

Outages ๐Ÿ”ฅ

https://status.lemmy.world



founded 2 years ago
MODERATORS