Greasy Fork is available in English.

ytkb

Add custom keyboard shortcuts for YouTube navigation with UI feedback and improved controls

Autor
zafchiel
Dziennych instalacji
0
Wszystkich instalacji
11
Oceny
0 0 0
Wersja
0.4.2
Utworzono
25-10-2024
Zaktualizowano
07-12-2024
Size
7,59 KB
Licencja
MIT
Dotyczy

YouTube Keyboard Shortcuts (ytkb) Userscript

Simple userscript to improve youtube keyboard controls. Key features include:

  1. Custom Keyboard Shortcuts:
  • H or Left Arrow: Rewind (5 seconds)
  • L or Right Arrow: Fast forward (5 seconds)
  • J or Down Arrow: Decrease volume
  • K or Up Arrow: Increase volume
  • M: Toggle mute
  • ,: Decrease playback speed (max 3.00x)
  • .: Increase playback speed (min 0.10x)
  • z: Reset playback speed to 1.0
  • I: Toggle Picture-in-Picture mode
  • F: Toggle full screen
  1. Control Modifiers:
  • Holding Ctrl while using seek or volume shortcuts doubles the effect
  1. On-screen Feedback:
  • Displays a temporary overlay showing the result of your action
  1. Persistent Video State Display:
    • Shows current time, duration, volume, mute status, and playback speed
    • Updates in real-time below the video

The script is designed to work on YouTube video pages and doesn't interfere with input fields or textareas. It also preserves YouTube's native keyboard shortcuts for most functions.