Extension: Rooster HotKeys -> Modify keybindings for LingQ Reader

@bbbblinq

ROOSTER HOTKEYS PATCH 1.27
→ Basic Tab system added


→ New bind (Toggle Stats Menu)
→ New bind (Show Words Read Today)* This auto updates every 30 seconds
image

Great to hear! It would be cool to know what keybinding configurations people came up with. Its a complicated problem now with duplicates and lots of unbound keys

3 Likes

Not sure why, but after changing the hotkeys once, whenever I revisit LingQ, the keys are reset and the tab dissappears.
Nothing seems to work except uninstalling and reinstalling the extension, resetting keys and changing them again, each time this happens.

Edit: Actually the extension just isn’t appearing at all now, I enabled permissions but still nothing. Not sure what’s interfering in this case.
Edit2: Seems some other web extensions like ‘leechblocker’ and adblocker aren’t compatible.

2 Likes

@Vardan_Yervadian

The problem might be related to LingQs page navigation. They use a special navigation which doesn’t properly detect URL changes. You can try refresh the page when you are on the reader page it should show up

1 Like

How could I use this fantastic ability on android phone?

2 Likes

I’m not sure, does an android phone have a keyboard? Or do you mean for other extensions?

Some of these extensions are coming to Firefox for Android later this year

2 Likes

Update 2: Legit resetting the binds, toggling the extension off and on again, and refreshing the page* often makes the shortcuts work again, this more likely a LingQ website/coding issue in my mind—not the Rooster Hotkeys extension.

P.S. I did the above again today and the go-to-next blue LingQ shortcut randomly worked again.

*I do this when the LingQ tab may have been open on a tab/idle too long.

P.P.S. Thanks for taking the time to reply @sarjag! It helped!! :smiley:

2 Likes

The questions that keep me up at night. Why does this work on Chrome but die on Firefox and vice versa…?

hopefully we can find a solution where you don’t need to do that everytime!

2 Likes

This page gives lifetime total words read. If you can pick up the first number, round it and show it, it would be useful.
https://www.lingq.com/api/languages/fr/stats/
{“Words of Reading”:81313.5551332149,“Hours of Listening”:1.10860720867366,“Known Words”:4979.0,“Hours of Speaking”:0,“Words of Writing”:0,“LingQs”:1802.0}

I’m trying " Rooster Reader for LINGQ" and I can’t see how to make it work - it does not appear.

image

1 Like

2 quick ideas to add to the pile:

  1. Setting spacebar to a keyboard shortcut in the rebind menu displays a blank space, it could maybe be labelled with the word “spacebar” so you know the entry went in correctly and isn’t just an unset key. I started using spacebar for play sentence audio while in sentence view and noticed that it entered a blank space when I was binding it. The key works perfectly fine though so there’s no issue with the binding itself, just the way it’s represented in the gui overlay could maybe be made more clear.

  2. An assignable shortcut to toggle between sentence view and page view - the button in the bottom middle of the web reader.

The new toggle stats menu shortcut is surprisingly useful too, I didn’t know I wanted that until you put it in!

2 Likes

ROOSTER HOTKEYS PATCH 1.28

→ Fixed!

→ Added!

You can thank @bbbblinq for that one

2 Likes

Can we add "Increase Font Size" and “Reduce Font Size” as actions?

Seems like " - " for “Font Size” shrinks the font for LingQ, and “Shift +” enlarges it.

It Would be nice to keep " - " the same for shrinking the font and set the Increase Font Size shortcut to " = " as opposed to “Shift +”.

For me, I tend to increase my text font size over decreasing it. (The joys of vision impairment, lol—I wear glasses :eyeglasses: .)

2 Likes

Something interesting I just noticed.

This is now what the Next blue LingQ shortcut looks like for me on Firefox:


Note: Before the latest update, this shortcut on the Firefox extension appeared like in the below image (i.e. b for next blue Lingq), and I was having more problems getting the shortcut to work.

This is what it looks like on Chrome:

[Stay with me on this.]

When I rebind the shortcut on Firefox to be the same as the Chrome image (initially how LingQ intended it), the shortcut doesn’t work in Firefox.

But if I set the Firefox extension to the shortcut shown in the Firefox image and use " b " as the shortcut (not Shift + B), the shortcut goes to the next blue LingQ as I want to. (Note: my caps lock is not on at any point). And Shift + B doesn’t seem to work.*

*This is also applicable to the Chrome extension.

Does any of this help or make sense? Anyway, I’m going to test this out for a while and see if this fixes the issue for me and allows me to avoid going through the process I detailed in one of my edits here.

P.S. Though all of this could be a weird coincidence that doesn’t help at all, :melting_face: :sweat_smile:

2 Likes

Haha, I’m blown away by the speed you update these things… not even an hour later you have the update out! It works perfectly though, just tested it.

I noticed that the “All Controls” tab in the gui is missing the shortcut for “Toggle Sentence/Page View” but it’s available under the “Advanced Controls” tab. Just a heads up - obviously not a big deal!

Thanks for the update, this is awesome.

3 Likes

I fixed the display bug in the latest patch, Chrome takes a few days to update but should notice changes almost immediately on Firefox.

So the key works on Chrome if you rebind it to ‘b’ but if you bind it to something else it doesnt work?

Ill fix that next update

@jpp025 Thank you for your troubleshooting guide. I’ll add that to main post.

2 Likes

The key works in Firefox if you rebind it to Shift + B, but use b (for some reason).

The key also works in Chrome if you rebind it to Shift + B, but use b (for some reason).

This is what I’m testing out to see if I run into issues with the key bindings having to be troubleshot.

The combo Shift + B doesn’t work at all but somehow clears up the ability for me to use b.

Hopefully, this makes a little more sense, I know it sounds a bit weird.

No problem! I hope it helps some users if they’re having similar issues.

3 Likes

ROOSTER HOTKEYS PATCH 1.29
→ Fixed next blue LingQ Key
→ Added Words read total GUI
→ Added Word size + Key

image

ROOSTER HOTKEYS PATCH 1.30
→ Added bind to toggle on and off the Hotkeys Menu
→ Hotkeys Button isn’t removed anymore when clicked

ROOSTER HOTKEYS PATCH 1.31
→ Changed the initial bind for Page left/right. Was causing a conflict that I don’t quite understand yet

3 Likes

It seems to be working great now!! Thank you!! :smiley:

Is this a similar issue as the “Shift + [arrow right/left]” bindings for the Next page LingQ? Can it this issue be resolved in a similar way? Or was that like a weird special case?

Like I mentioned in an additional edit[ed] reply, I rebinded the next page to “Shift + >”, and it works fine in Rooster Hotkeys, I just wanted to check and see, if this was a similar fix that could be implemented on the next update. No worries, if not!

Clarification:

Shift + Arrow[Right/Left] 

for the next page, seems to trigger the Shortcut for the Move Right/Left action:

Arrow[Right/Left] 

So I rebinded the shortcuts for paging to the Next and Previous pages (in a selected lesson) to:

Shift + >

And

Shift + <
2 Likes

ROOSTER HOTKEYS PREMIUM PATCH 1.11

→ Import and Export keybinding configurations. (Sync your binds between browsers/store multiple profiles)

VIDEO of Import/Export of Keybinds

2 Likes