https://github.com/zafchiel/ytkb
Simple userscript to improve youtube experience
https://github.com/zafchiel/ytkb
userscript youtube
Last synced: 2 months ago
JSON representation
Simple userscript to improve youtube experience
- Host: GitHub
- URL: https://github.com/zafchiel/ytkb
- Owner: zafchiel
- Created: 2024-09-22T17:06:15.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-12-07T14:08:32.000Z (over 1 year ago)
- Last Synced: 2025-06-15T11:56:35.089Z (about 1 year ago)
- Topics: userscript, youtube
- Language: JavaScript
- Homepage: https://greasyfork.org/en/scripts/513991-ytkb
- Size: 21.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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
2. **Control Modifiers:**
- Holding `Ctrl` while using seek or volume shortcuts doubles the effect
3. **On-screen Feedback:**
- Displays a temporary overlay showing the result of your action
4. **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.