this post was submitted on 27 Jan 2024
19 points (91.3% liked)

Lemmy

12542 readers
23 users here now

Everything about Lemmy; bugs, gripes, praises, and advocacy.

For discussion about the lemmy.ml instance, go to !meta@lemmy.ml.

founded 4 years ago
MODERATORS
 

cross-posted from: https://lemmy.world/post/11244755

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
[–] offspec@lemmy.nicknakin.com 1 points 9 months ago (3 children)

I wasn't able to figure out how to run it on any lemmy instance

[–] DuckGuy@mander.xyz 1 points 9 months ago (2 children)

Because it only works via the Mlmym frontend, supposedly. Give it a go: https://o.opnxng.com/lemmy.nicknakin.com/

I haven't tested it myself. I hate scripts with dodgy website checks. The author should have hardcoded the known Mlmym instances instead. (or maybe that's just a "me" problem.)

inb4 but this way the script needs less maintenance

If the Mlmym dev renames the "spacer" or "icon" classes for any reason or if he changes Mlmym's HTML structure, this script would stop working immediately.

And anyway, running a check on every page your browser visits to determine if it is a Mlmym instance or not is simply inefficient and, I'd argue, bad practice, security-wise.

[–] DosDude@retrolemmy.com 1 points 9 months ago* (last edited 9 months ago) (1 children)

It says on the github page that it works for both lemmy-Ui and Mlmym.

[–] DuckGuy@mander.xyz 1 points 9 months ago

Oh, indeed! I missed the fact there was a second script. So there's one for Mlmym and another for "regular" Lemmy instances. My bad.

(It's still got the @match https://*/* that I dislike, though.)