Trippy Rainbow Effect

Make the screen trippy with rainbow cycling colors and animations

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         Trippy Rainbow Effect
// @namespace    http://tampermonkey.net/
// @version      1.0
// @description  Make the screen trippy with rainbow cycling colors and animations
// @author       Golden
// @match        https://www.milkywayidle.com/*
// @grant        none
// @license      MIT
// ==/UserScript==

(function() {
    'use strict';

    // Create a style element for trippy effects
    const style = document.createElement('style');
    style.innerHTML = `
        @keyframes rainbowBg {
            0% { background: red; }
            14% { background: orange; }
            28% { background: yellow; }
            42% { background: green; }
            57% { background: blue; }
            71% { background: indigo; }
            85% { background: violet; }
            100% { background: red; }
        }

        @keyframes hueRotate {
            0% { filter: hue-rotate(0deg); }
            100% { filter: hue-rotate(360deg); }
        }

        @keyframes pulsate {
            0%, 100% { transform: scale(1); }
            50% { transform: scale(1.05); }
        }

        body {
            animation: rainbowBg 10s linear infinite, hueRotate 5s linear infinite;
        }

        * {
            animation: pulsate 2s infinite alternate ease-in-out;
        }
    `;

    // Append the style to the document head
    document.head.appendChild(style);
})();