AntiRickRoll

Blocks RickRolls

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!)

// ==UserScript==
// @name         AntiRickRoll
// @version      1.1
// @description  Blocks RickRolls
// @author       CelestialCrafter
// @match        *://www.youtube.com/watch?v=iik25wqIuFo
// @match        *://www.youtube.com/watch?v=oHg5SJYRHA0
// @match        *://www.youtube.com/watch?v=dQw4w9WgXcQ
// @grant        none
// @namespace https://greasyfork.org/users/711114
// ==/UserScript==

(function() {
    'use strict';

    document.getElementsByTagName('body')[0].innerHTML = '';
    alert('RICKROLL BLOCKED\nDisable this script to continue')
})();