-
-
Notifications
You must be signed in to change notification settings - Fork 551
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
For some reason, the arrow keys don't advance/go back in time nor Up/Lower the Volume. Arrow keys just not working. #2406
Comments
Current Shortcuts code has limitations #2312 but afaik we dont touch arrow keys at all. Are you sure you dont have another extension doing something with keyboard input actuve? |
hehe, I reported the same bug 10 hours ago even though the problem has been going on for a few days. Unlike yours, mine is working totally fine on Firefox. I am facing these problems on "Opera One (version: 111.0.5168.25) - Chromium version:125.0.6422.143". Even F5 to refresh the page is not working, so its not a YouTube problem. |
Thats great! erm I mean for finding the bug :-) We can try to pinpoint source of the problem if you or Romdara13 are ready for some debugging.
if breakpoint triggers then we (or your settings) are to blame :-) |
we are testing here if ImproveTube somehow wants to preventDefault() on keys that dont belong to it |
Did I do it right ? Is that what you wanted to check ? |
|
ok, so its in your settings somehow |
'{"always_show_progress_bar":true,"ambient_lighting":false,"below_player_loop":true,"below_player_pip":false,"below_player_screenshot":false,"bluelight":0,"dim":0,"ga":1668341473944,"hide_gradient_bottom":true,"lastDarkTheme":"black","limit_page_width":true,"mark_watched_videos":false,"player_hd_thumbnail":false,"player_hide_cards":false,"player_loudness_normalization":false,"player_remaining_duration":true,"player_rotate_button":true,"player_screenshot_button":false,"player_screenshot_save_as":"clipboard","schedule":"disabled","shortcut_rotate_video":{},"shortcut_screenshot":{"alt":false,"ctrl":false,"keys":{"83":{"code":"KeyS","key":"S"}},"shift":true,"wheel":0},"theme":"black","theme_primary_color":[200,200,200],"theme_text_color":[25,25,25],"track_watched_videos":false,"up_next_autoplay":false,"youtube_language":"default"}' |
So this was the first time I read youtube/js&css/web-accessible/www.youtube.com/shortcuts.js Lines 18 to 72 in e1c339d
its written in a weird way, it only actually compares keys if they exist, if a shortcut doesnt exist like yours
funny thing about {} empty Objects in javascript, they are not null https://mortoray.com/the-many-faces-of-undefined-in-javascript/ its a true minefield https://x.com/BrendanEich/status/1273250867823538176 For a quickfix execute Boy Im glad I added that |
yup, that fixed it. |
I kinda forgor about this problem and all 💀, ill try using the fix now,
Thank you!
Em seg., 1 de jul. de 2024, 16:01, Rasz_pl ***@***.***>
escreveu:
… Closed #2406 <#2406> as
completed.
—
Reply to this email directly, view it on GitHub
<#2406 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BJMJBUJZXW2EAO5JCL5SNNLZKGRQJAVCNFSM6AAAAABJXYOW72VHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJTGM2TKNBRGAZDINI>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
quickfix was tailored specifically for dante987 config or wait for next update :) |
Bug Report: When i press either of the arrow keys, it doesn't advance/go back 5 seconds and does not Change the volume, it just freezes the video a bit without ANY change.
F12
-key, thenconsole
-tab)yt.config_.EXPERIMENT_FLAGS
into the Browser console on youtube (F12-Key - Or find it in the html source(ctrl+U)GitHub's issue search (use the link or remove "is:issue is:open" from the search)
⋮
-Hamburger menu > Settings > Backup & reset > Export settings (You can remove any Blocklist, History Analyzer data - or paste the following in the Browser-Console and hit enter:(function({analyzer, blocklist, ...a}){return JSON.stringify(a)})(ImprovedTube.storage)
)F12
copy the whole root element: <html> (alternative: CTRL+U) (https://github.com/code-charity/youtube/wiki/Contributing#Test )The text was updated successfully, but these errors were encountered: