ytkb

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

您需要先安装一个扩展,例如 篡改猴Greasemonkey暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴Userscripts ,之后才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。

您需要先安装用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

作者
zafchiel
日安装量
0
总安装量
12
评分
0 0 0
版本
0.4.2
创建于
2024-10-25
更新于
2024-12-07
大小
7.6 KB
许可证
MIT
适用于

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.