Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bittricky/yt-random-video
A user script for adding a "Random Video" button to YouTube to watch a random video.
https://github.com/bittricky/yt-random-video
fun javascript tampermonkey userscript
Last synced: about 1 month ago
JSON representation
A user script for adding a "Random Video" button to YouTube to watch a random video.
- Host: GitHub
- URL: https://github.com/bittricky/yt-random-video
- Owner: bittricky
- Created: 2024-12-24T15:05:52.000Z (about 1 month ago)
- Default Branch: main
- Last Pushed: 2024-12-25T15:28:15.000Z (about 1 month ago)
- Last Synced: 2024-12-25T16:26:03.743Z (about 1 month ago)
- Topics: fun, javascript, tampermonkey, userscript
- Language: JavaScript
- Homepage:
- Size: 1000 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# YouTube Random Video Button
A Tampermonkey userscript that adds a "Random Video" button to YouTube's navigation bar, allowing users to discover random YouTube videos with a single click.
## Prerequisites
Before you can use the script, ensure the following:
**Install a Userscript Manager**:
- You need a userscript manager like [TamperMonkey](https://www.tampermonkey.net/) or [Greasemonkey](https://www.greasespot.net/).
- TamperMonkey is highly recommended as it is widely supported and user-friendly.**Supported Browsers**:
- Chrome, Firefox, Edge, Safari, or any browser compatible with TamperMonkey or similar extensions.
## Installation Steps
**Install TamperMonkey**:
- Visit the [official TamperMonkey website](https://www.tampermonkey.net/) and download the extension for your browser.
- Follow the installation prompts specific to your browser.**Create a New Script**:
- Open TamperMonkey by clicking its icon in your browser's toolbar.
- Select **"Create a New Script"** from the menu.**Add the Script Code**:
- Copy the YouTube Enhancer script code provided below and paste it into the TamperMonkey script editor:
**Save the Script**:
- Click the **Save** button or press `Ctrl + S` (`Cmd + S` on macOS) in the TamperMonkey editor.
**Enable the Script**:
- Ensure the script is enabled in TamperMonkey by checking the toggle switch next to its name in the dashboard.
**Reload YouTube**:
- Open or refresh [YouTube](https://www.youtube.com) to see the "Random Video" button appear in the navigation bar.
## More Information
- Learn more about TamperMonkey: [Official Documentation](https://www.tampermonkey.net/documentation.php)
- Understand how userscripts work: [Greasemonkey Userscript Guide](https://wiki.greasespot.net/Main_Page)
- Explore more TamperMonkey script ideas: [GreasyFork](https://greasyfork.org/)Enjoy exploring random videos with the click of a button! 🎉
@Author: Mitul Patel