Skip to content

Restore focus to YouTube video player when using its volume or progress bar, so that shortcuts for video seeking and volume control are consistent regardless of last action

License

Notifications You must be signed in to change notification settings

matiand/remove-yt-volumebar-focus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

About

This userscript restores focus to video element after using volume or progress bar, so that shortcuts for video seeking and volume control are consistent regardless of last action. Left/right arrows always seek video backward/forward and up/down arrows always change volume. Requires userscript manager like Greasemonkey/Tampermonkey.

Before

Without this script, when clicking on volume bar, it keeps the focus. Pressing left or right arrow key changes volume level.

Image showing behaviour before applying this script

After

After applying this script, when clicking on volume bar, the video element takes focus. Pressing left or right arrow key seeks forward or backward. You can still press up and down arrow keys to change volume level.

Image showing behaviour after applying this script

About

Restore focus to YouTube video player when using its volume or progress bar, so that shortcuts for video seeking and volume control are consistent regardless of last action

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published