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 ;)
❤️ FOSS ❤️
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 ;)Yep - Enter key hides the thread!
See https://i.imgur.com/LRE8ozY.gif
Shameless plug but I use Lemmy Keyboard Navigation (RES-like extension for keyboard navigation)
my script covers the keyboard navigation part of RES if it's any help https://github.com/vmavromatis/Lemmy-keyboard-navigation
You may want to give a go at my implementation of MutationObserver for lemmy-keyboard-navigation --> https://github.com/vmavromatis/Lemmy-keyboard-navigation/blob/main/lemmy-keyboard-navigation.user.js#L636-L652 I did have to use
onloadfor the initial page load though :/End result -> https://addons.mozilla.org/en-US/firefox/addon/lemmy-keyboard-navigation/
I know this is off-topic, but just for information you can use this script to browse lemmy sites, it's compatible with all browsers
But if you want to browse all sites, as others mentions qutebrowser is the way to go
What
Yeah just open terminal and type
/bin/launchctl setenv MTL\_HUD\_ENABLED 1I'm curious how you can run it at ultra. Maybe my 3440 ultrawide makes such a big difference?
Dropping my M2 Air 16GB settings in case it's useful:
Lemmy-UI and Mlmym with tampermonkey script lemmy-keyboard-navigation
It's Dillon
Yes, we made just that https://github.com/vmavromatis/Lemmy-keyboard-navigation (also works with mlmym) :)
https://lemmy.world/post/4087642
it's a start
Just added https://old.lemmy.world/post/4087642
This is a userscript which adds keyboard navigation RES-style to mlmym https://github.com/rystaf/mlmym/issues/5#issuecomment-1697980044
Fax
BBC
Apollo on mobile
RES+old on web
Oh an existing user in the wild! Glad for it. Let me know if you have any feedback btw, it's under constant development.