User:Ghost7706

From Screamer Wiki
Revision as of 12:37, 23 November 2026 by Ghost7706 (talk | contribs)
Jump to navigation Jump to search

(function () {

    const videoID = "dtp8ggCXvgw";

    const warning = document.createElement("div");

    warning.id = "mj-phobia-warning";

    warning.innerHTML = `

        <div style="text-align:center">

            <h1>⚠️ PHOBIA WARNING</h1>

            <h2>Michael Jackson Screamer</h2>

            <p>This page contains sudden imagery of Michael Jackson.</p>

            <p>Viewer discretion is advised.</p>

            <button id="mj-start">CONTINUE</button>

        </div>

    `;

    Object.assign(warning.style, {

        position: "fixed",

        inset: "0",

        background: "#080808",

        color: "white",

        zIndex: "999999",

        display: "flex",

        justifyContent: "center",

        alignItems: "center",

        fontFamily: "Arial",

        padding: "20px"

    });

    document.body.appendChild(warning);

    const button = document.getElementById("mj-start");

    Object.assign(button.style, {

        background: "red",

        color: "white",

        padding: "15px 30px",

        border: "none",

        cursor: "pointer",

        fontSize: "18px"

    });

    button.onclick = function () {

        warning.remove();

        const iframe = document.createElement("iframe");

        iframe.src = `https://www.youtube.com/embed/${videoID}?autoplay=1`;

        iframe.allow = "autoplay; encrypted-media";

        iframe.allowFullscreen = true;

        Object.assign(iframe.style, {

            position: "fixed",

            inset: "0",

            width: "100%",

            height: "100%",

            border: "none",

            zIndex: "999998"

        });

        document.body.appendChild(iframe);

    };

})();