- cross-posted to:
- [email protected]
- cross-posted to:
- [email protected]
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!
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 ;)Doesn’t seem to work on mine tho.
Uncaught TypeError: Cannot set properties of undefined (setting 'selectedIndex') at :1:87