afoutopatisa

joined 2 years ago
[–] afoutopatisa 5 points 11 months ago

❤️ FOSS ❤️

[–] 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 ;)

[–] afoutopatisa 5 points 11 months ago* (last edited 11 months ago) (1 children)

Yep - Enter key hides the thread!

See https://i.imgur.com/LRE8ozY.gif

 

What's this?

It's a RES-like browser extension that enables keyboard navigation, meaning you will no longer have to use your mouse to navigate Lemmy if want to use it for accessibility purposes or if you're lazy like myself 😌

Why YSK:

If you miss RES and have Chrome/Firefox/Opera/Edge (Safari still not supported) you can give it a spin and see if it makes your life easier.

Hope this is helpful and enjoy! 🚀

Sharing the basic hotkeys below, you may also find everything on the github page:

J = Next Post	/ Comment
K = Previous Post / Comment
L = Next Page	/ same-level Comment
H = Previous Page / same-level Comment
A = Upvote
Z = Downvote
X = Expand
C = View Comments
R = Reply
Enter = View Link
 

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!

 

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!

[–] afoutopatisa 4 points 11 months ago* (last edited 11 months ago)

Shameless plug but I use Lemmy Keyboard Navigation (RES-like extension for keyboard navigation)

 

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

Feel free to give it a spin and add any feature requests on github!

 

Feel free to give it a spin and add any feature requests on github!

[–] afoutopatisa 1 points 1 year ago

my script covers the keyboard navigation part of RES if it's any help https://github.com/vmavromatis/Lemmy-keyboard-navigation

[–] afoutopatisa 1 points 1 year ago* (last edited 1 year ago)

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 onload for the initial page load though :/

End result -> https://addons.mozilla.org/en-US/firefox/addon/lemmy-keyboard-navigation/

[–] afoutopatisa 1 points 1 year ago* (last edited 1 year ago)

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

[–] afoutopatisa 3 points 1 year ago (2 children)

Yeah just open terminal and type /bin/launchctl setenv MTL\_HUD\_ENABLED 1

I'm curious how you can run it at ultra. Maybe my 3440 ultrawide makes such a big difference?

[–] afoutopatisa 10 points 1 year ago (5 children)

Dropping my M2 Air 16GB settings in case it's useful:

  • All graphic settings at LOW (except textures I have at Ultra w/ anisotropic x16)
  • FSR1 activated at Performance (this is a MUST)
  • U3421WE Ultrawide native res is 3440x1440, I run at 2752x1152
  • Anti-aliasing I have off because I don't like this blurry stuff
  • Everything else is off
  • Gives stable 40 FPS, sure graphics are not great, but it's very much playable
[–] afoutopatisa 1 points 1 year ago

Lemmy-UI and Mlmym with tampermonkey script lemmy-keyboard-navigation

[–] afoutopatisa 2 points 1 year ago (1 children)

It's Dillon

 

This is a RES-like script to let you navigate all Lemmy and mlmym sites with your keyboard!

Github is here https://github.com/vmavromatis/Lemmy-keyboard-navigation

Feedback always welcome 🙏🏾🙏🏾🙏🏾

 

This is a gift for all you mlmym lovers out there:

A userscript that allows you to navigate lemmy with HJKL keyboard navigation, now with mlmym support :) This is an initial release and only available on github for now.

ALL credits go to InfinibyteF4 for making this happen 🏆

EDIT: to link the updated file which works for both vanilla lemmy and mlmym

 

What is it?

Lemmy Keyboard Navigation is a RES-like userscript that allows you to navigate Lemmy with the keyboard. Supports both HJKL and arrow navigation.

What's new

  • Due to popular demand, default navigation is now HJKL (aka RES or Vim-style). Change vimKeyNavigation into false if you wish to use Keyboard Arrows instead.
  • Enter key for comments collapse ⎆
  • S key for save post/comment 💾
  • R key to go to community of a post 🌐
  • Now also available as a Chrome Extension, however it's still at version 1.8, waiting for Google to approve 1.9, should be there in few days.

Feel free to provide feedback and of course PRs are always welcome! Special thanks to @aglidden for the major contributions.

 

Thanks to @aglidden for the PR work

Direct link to userscript -> https://github.com/vmavromatis/Lemmy-keyboard-navigation/raw/main/lemmy-keyboard-navigation.user.js

58
submitted 1 year ago* (last edited 1 year ago) by afoutopatisa to c/[email protected]
 

Smash your update buttons

 

What's this?

It's a new UserScript (typically installed with browser extensions such as Tampermonkey/Violentmonkey/Greasomonkey) which enables keyboard arrow navigation, meaning you will no longer have to use your mouse to navigate Lemmy if you're lazy like myself 😌

Why YSK:

For some people like me, this could be the turning point to actually start using Lemmy (few but still!). I loved Lemmy and the only thing I disliked was being unable to navigate it with a keyboard like I used to do with Reddit/RES so I created one :)

Hope this is helpful and enjoy! 🚀

Sharing the hotkeys below, you may also find everything on the github page:

Down = Next post / comment
Up = Previous post / comment
Right = Next page / parent comment
Left = Previous page / parent comment
A = Upvote
Z = Downvote
X = Expand
C = View Comments
R = Reply
Enter = View Link
14
submitted 1 year ago* (last edited 1 year ago) by afoutopatisa to c/[email protected]
 

Forked from @[email protected]'s script - I just modified it to navigate Lemmy with arrows instead. I find it much easier than using J/K. Right/Left arrows have dual usage also, as they can both change the page and jump to next/previous same level comment :)

Down = Next post / comment
Up = Previous post / comment
Right = Next page / parent comment
Left = Previous page / parent comment
A = Upvote
Z = Downvote
X = Expand
C = View Comments
Enter = View Link

I made it for me but feel free to give it a go and let me know what you think!

view more: next ›