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.

คุณจะต้องติดตั้งส่วนขยาย เช่น Tampermonkey, Greasemonkey หรือ Violentmonkey เพื่อติดตั้งสคริปต์นี้

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

คุณจะต้องติดตั้งส่วนขยาย เช่น Tampermonkey หรือ Violentmonkey เพื่อติดตั้งสคริปต์นี้

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
Size
8.52 กิโลไบต์
สัญญาอนุญาต
ไม่มี
ปรับใช้กับ

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