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.

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

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

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

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

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

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

(I already have a user script manager, let me install it!)

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.

(I already have a user style manager, let me install it!)

Аўтар
JMcrafter26
Усталяванняў за дзень
0
Усяго ўсталяванняў
7
Рэйтынг
0 0 0
Версія
1.7.5
Створаны
11.02.2024
Абноўлены
15.02.2026
Памер
8.5 КБ
Ліцэнзія
Н/Д
Ужываецца на

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/)"
  }
}