Anti Rickroll (Universal)

A lightweight, robust userscript designed to protect users from known Rickrolls on YouTube. Optimized specifically for mobile environments (iOS Userscripts) and modern browser security policies.

K instalaci tototo skriptu si budete muset nainstalovat rozšíření jako Tampermonkey, Greasemonkey nebo Violentmonkey.

You will need to install an extension such as Tampermonkey to install this script.

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Violentmonkey.

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Userscripts.

You will need to install an extension such as Tampermonkey to install this script.

K instalaci tohoto skriptu si budete muset nainstalovat manažer uživatelských skriptů.

(Už mám manažer uživatelských skriptů, nechte mě ho nainstalovat!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(Už mám manažer uživatelských stylů, nechte mě ho nainstalovat!)

Autor
JMcrafter26
Denně instalací
0
Celkem instalací
7
Hodnocení
0 0 0
Verze
1.7.5
Vytvořeno
11. 02. 2024
Aktualizováno
15. 02. 2026
Size
8,5 KB
Licence
neuvedeno
Spustit na

Anti Rickroll (Universal)

A lightweight, robust userscript designed to protect users from known Rickrolls on YouTube. Optimized specifically for mobile environments (iOS Userscripts) and modern browser security policies.

Greasy Fork GitHub Built with JavaScript

Features

  • Persistent Protection: High-priority injection ensures the warning screen cannot be easily bypassed or hidden by site scripts.
  • Auto-Updating Database: Periodically fetches the latest Rickroll IDs from a central API to stay ahead of new links.
  • Embed Blocking: Detects and blocks Rickrolls embedded in iframes or other media elements, not just direct video links.
  • Immediate Mute: Automatically mutes and pauses the video player the moment a match is detected to prevent audio leaks.
  • Mobile Optimized: Specifically tailored to work within the constraints of iOS Safari extensions and mobile userscript managers.
  • Customizable: Supports a local database in localStorage for adding your own specific IDs.

Installation

  1. Ensure you have a userscript manager installed (e.g., Tampermonkey, Violentmonkey, or the Userscripts app on iOS).
  2. Install the script via Greasy Fork.
  3. The script will automatically begin protecting you on all YouTube-related domains.

API & Integration

This project is powered by a public API that other developers can use to check for Rickrolls or fetch the latest database.

Example Response (type=check):

{
  "status": "success",
  "rickroll": true,
  "videoId": "xvFZjo5PgG0",
  "report": {
    "message": "False positive? Please report it!",
    "url": "[https://api.jm26.net/rickroll-db/report/](https://api.jm26.net/rickroll-db/report/)"
  }
}