A simple userscript that allows you to take screenshots of YouTube videos using keyboard shortcuts.
- Take screenshots of YouTube videos with a simple keyboard shortcut
- Automatically saves screenshots as PNG files
- Includes timestamp in filename
- Works on all YouTube video pages
- No UI elements added to keep the interface clean
-
First, install a userscript manager extension in your browser:
- For Chrome: Tampermonkey
- For Firefox: Greasemonkey or Tampermonkey
- For Edge: Tampermonkey
-
Click here to install the script
- Or create a new script in your userscript manager and copy the content of
youtube-screenshot.user.js
- Or create a new script in your userscript manager and copy the content of
- Go to any YouTube video page
- Press
Ctrl + Shift + Swhen you want to take a screenshot - The screenshot will be automatically downloaded with the filename format:
youtube-screenshot-[timestamp].png
- Uses HTML5 Canvas to capture video frames
- No external dependencies
- Lightweight and performant
- Respects browser's security policies
MIT License
Feel free to open issues or submit pull requests if you have any improvements or bug fixes.