this post was submitted on 27 Jan 2024
17 points (87.0% liked)

Lemmy.world Support

3250 readers
12 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 [email protected] (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
 

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 2 points 11 months ago* (last edited 11 months ago) (1 children)

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 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