Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

README.md

YouTube Random Video Button

Do you ever feel like youtube knows you too well? This script lets you explore random videos with a single click. 🎲

A Tampermonkey userscript that adds a "Random Video" button to YouTube's navigation bar, allowing users to discover random YouTube videos.

Prerequisites

Before you can use the script, ensure the following:

Install a Userscript Manager:

  • You need a userscript manager like TamperMonkey or Greasemonkey.
  • 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:

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 Random Video 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 to see the "Random Video" button appear in the navigation bar.

More Information

Enjoy exploring random videos with the click of a button! 🎉

@Author: Mitul Patel


This is an exercise to learn more about: