YouTube arrow keys FIX

Fix YouTube keyboard controls (arrow keys) to be more consistent (Left,Right - jump, Up,Down - volume) after page load or clicking individual controls.

K instalaci tototo skriptu si budete muset nainstalovat rozšíření jako Tampermonkey, Greasemonkey nebo Violentmonkey.

You will need to install an extension such as Tampermonkey to install this script.

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Violentmonkey.

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Userscripts.

You will need to install an extension such as Tampermonkey to install this script.

K instalaci tohoto skriptu si budete muset nainstalovat manažer uživatelských skriptů.

(Už mám manažer uživatelských skriptů, nechte mě ho nainstalovat!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(Už mám manažer uživatelských stylů, nechte mě ho nainstalovat!)

Autor
Calciferz
Denně instalací
0
Celkem instalací
632
Hodnocení
8 0 0
Verze
2.0.0
Vytvořeno
18. 02. 2018
Aktualizováno
27. 04. 2024
Size
19,8 KB
Licence
MIT
Spustit na

YouTube arrow keys FIX

This is a userscript for web browsers to:

  • make YouTube keyboard controls (arrow keys) more intuitive,
  • fix annoyances like focusing volume slider and progressbar,
  • make Tab-navigation more user-friendly by highlighting focus on player buttons.

Userscript registry page: https://greasyfork.org/en/scripts/38643-youtube-arrow-keys-fix

Installation instructions below.

Features

YouTube player keyboard shortcuts will work consistently when player is focused:

  • Left,Right -> jump 5sec backwards / forwards
  • Home,End -> jump to video start / end
  • Up,Down -> volume up / down
  • Player is focused right after pageload, no need to click in player frame.
  • Click outside player frame to scroll page.
  • Can't be focused: volume slider, progress bar, fine seeking bar, subtitle.

Global keyboard shortcuts, unaffected:

  • Space -> play/pause on the whole page, not only when player is focused
  • K -> play/pause
  • C -> toggle closed captions (subtitles)
  • M -> mute
  • T -> theater mode
  • F -> fullscreen
  • +/- -> change subtitle font size
  • 0-9 -> jump to 0%-90%
  • J,L -> jump 10sec backwards / forwards
  • , -> previous frame (when paused)
  • . -> next frame (when paused)
  • Shift-, -> speed -0.25
  • Shift-. -> speed +0.25
  • Shift-N -> next video
  • Shift-P -> previous video
  • / -> focus searchfield
  • ? -> show keyboard shortcuts
  • ENTER -> push the focused button

Fixes the following awkward behaviour of YouTube player controls after clicking them (making the individual control focused):

  • After clicking the progressbar Up/Down will jump in the video instead of changing the volume.
  • After clicking the volume slider Left/Right will change the volume instead of jumping in the video.

YouTube keyboard shortcuts documentation:

Installation

Install an addon to manage userscripts, for example one of the following:

Then install the userscript from the registry:

Or install directly from this repository:

For the latest in-development version install from the dev, branch (not guaranteed to be reliable):