Shell Shockers Rainbow Theme

Adds a beautiful rainbow background to Shell Shockers That Changes Colors every second.

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

// ==UserScript==
// @name         Shell Shockers Rainbow Theme
// @namespace    http://tampermonkey.net/
// @version      V1
// @description  Adds a beautiful rainbow background to Shell Shockers That Changes Colors every second.
// @author       CoffeeGamer2025
// @match        https://shellshock.io/*
// @grant        GM_addStyle
// ==/UserScript==

(function() {
    'use strict';

    // Inject CSS for the rainbow background
    GM_addStyle(`
        body {
            background: linear-gradient(45deg, red, orange, yellow, green, blue, indigo, violet);
            background-size: 400% 400%;
            animation: rainbowAnimation 10s ease infinite;
        }

        @keyframes rainbowAnimation {
            0% { background-position: 0% 50%; }
            50% { background-position: 100% 50%; }
            100% { background-position: 0% 50%; }
        }

        /* Optional: Make the background cover the whole page */
        html, body {
            height: 100%;
            margin: 0;
        }
    `);
})();