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 ;)
afoutopatisa
joined 1 year ago
my script covers the keyboard navigation part of RES if it's any help https://github.com/vmavromatis/Lemmy-keyboard-navigation
@remindme@mstdn.social 30 years
❤️ FOSS ❤️