Greasy Fork

Greasy Fork is available in English.

YouSnatch - YouTube Video Downloader

Adds a download button next to YouTube's volume control

作者
JourneysFutpath
日安装量
2
总安装量
30
评分
0 0 0
版本
0.1
创建于
2025-05-03
更新于
2025-05-03
大小
2.1 KB
许可证
暂无
适用于

YouSnatch - YouTube Video Downloader

YouSnatch is a simple, user-friendly Tampermonkey/ViolentMonkey userscript that adds a "Download" button next to the volume control on YouTube. Clicking the button triggers a video download action (currently simulated by an alert).

Features

  • One-click Video Download: Adds a downloadable video button next to YouTube's volume control.
  • Easy Integration: Works seamlessly with Tampermonkey and ViolentMonkey.
  • Lightweight and Fast: Minimal resources required for running the script.
  • Accessibility: Includes an aria-label for screen readers.
  • Prevents Duplicates: Ensures the download button is not added multiple times.

Installation

Step 1: Install Tampermonkey or ViolentMonkey

Step 2: Create a New Script

  1. Open the Tampermonkey/ViolentMonkey dashboard.
  2. Click Create a new script.
  3. Copy the code from the YouSnatch script and paste it into the editor.
  4. Save the script.

Step 3: Enjoy!

Visit YouTube, and you should see the YouSnatch button appear next to the volume control on any video page. Clicking the button will simulate the video download process (currently just an alert).

How It Works

  • Button Creation: The script dynamically creates a "YouSnatch" button that appears next to YouTube’s volume control.
  • Button Functionality: When the user clicks the button, an alert simulates downloading the video.
  • Smart Insertion: The button is added only once to prevent duplication.
  • Accessibility: The button has an aria-label for better accessibility.

Notes

  • This script is a work in progress. It currently simulates the download action with an alert. Future updates may include actual download functionality.
  • The script works only on YouTube. It checks for YouTube's volume panel to place the button.

Contributing

  1. Fork this repository.
  2. Create a branch for your feature or fix.
  3. Commit your changes and push to your branch.
  4. Submit a pull request.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Credits

This script was created by Journey's Footpath.

Enjoy the YouTube video downloader and stay tuned for more updates!