EVERYTHING IS RICKROLL

rickroll is life, rickroll is everything, rickroll does not forgive, rickroll does not forget

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Greasemonkey lub Violentmonkey.

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

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Violentmonkey.

Aby zainstalować ten skrypt, wymagana będzie instalacja rozszerzenia Tampermonkey lub Userscripts.

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

Aby zainstalować ten skrypt, musisz zainstalować rozszerzenie menedżera skryptów użytkownika.

(Mam już menedżera skryptów użytkownika, pozwól mi to zainstalować!)

Advertisement:

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.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Musisz zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

(Mam już menedżera stylów użytkownika, pozwól mi to zainstalować!)

Advertisement:

// ==UserScript==
// @name         EVERYTHING IS RICKROLL
// @version      V1.0
// @description  rickroll is life, rickroll is everything, rickroll does not forgive, rickroll does not forget
// @author       SUPA_CBOII
// @license      MIT
// @match        *://*/*
// @namespace https://greasyfork.org/users/1590323
// ==/UserScript==

(function() {
    'use strict';

    const iframe = document.createElement("iframe");
    iframe.style.position = "fixed";
    iframe.style.top = "0";
    iframe.style.left = "0";
    iframe.style.width = "100vw";
    iframe.style.height = "100vh";
    iframe.style.border = "none";
    iframe.style.margin = "0";
    iframe.style.padding = "0";
    iframe.style.zIndex = "999999";

    // YouTube embed with minimal UI
    iframe.src =
        "https://www.youtube.com/embed/dQw4w9WgXcQ" +
        "?autoplay=1" +// autoplay
        "&controls=0" +// hide controls
        "&modestbranding=1" +// hide YouTube logo as much as allowed
        "&rel=0" +// no related videos
        "&showinfo=0" +// hide title (legacy but still helps)
        "&fs=0" +// disable fullscreen button
        "&disablekb=1" +// disable keyboard controls
        "&iv_load_policy=3";// hide annotations

    window.addEventListener("load", () => {
        document.body.innerHTML = "";
        document.body.appendChild(iframe);
    });

})();