User:Ghost7706: Difference between revisions

From Screamer Wiki
Jump to navigation Jump to search
No edit summary
Tags: Mobile edit Mobile web edit Visual edit
No edit summary
Tags: Mobile edit Mobile web edit Visual edit
Line 1: Line 1:


(() => {
<code>(function () {</code>


    const videoID = "dtp8ggCXvgw";
<code>    const videoID = "dtp8ggCXvgw";</code>


    const overlay = document.createElement("div");
<code>    const warning = document.createElement("div");</code>


    overlay.style.cssText = `
<code>    warning.id = "mj-phobia-warning";</code>


        position:fixed;
<code>    warning.innerHTML = `</code>


        inset:0;
<code>        <nowiki><div style="text-align:center"></nowiki></code>


        z-index:999999;
<code>            <nowiki><h1>⚠️ PHOBIA WARNING</h1></nowiki></code>


        background:#080808;
<code>            <nowiki><h2>Michael Jackson Screamer</h2></nowiki></code>


        color:white;
<code>            <nowiki><p>This page contains sudden imagery of Michael Jackson.</p></nowiki></code>


        display:flex;
<code>            <nowiki><p>Viewer discretion is advised.</p></nowiki></code>


        align-items:center;
<code>            <button id="mj-start">CONTINUE</button></code>


        justify-content:center;
<code>        <nowiki></div></nowiki></code>


        flex-direction:column;
<code>    `;</code>


        text-align:center;
<code>    Object.assign(warning.style, {</code>


        font-family:Arial;
<code>        position: "fixed",</code>


        padding:20px;
<code>        inset: "0",</code>


    `;
<code>        background: "#080808",</code>


    overlay.innerHTML = `
<code>        color: "white",</code>


        <nowiki><h1 style="color:red">⚠️ WARNING!</h1></nowiki>
<code>        zIndex: "999999",</code>


        <nowiki><h2>Michael Jackson Phobia Warning</h2></nowiki>
<code>        display: "flex",</code>


        <nowiki><p></nowiki>
<code>        justifyContent: "center",</code>


        This video contains imagery of Michael Jackson.
<code>        alignItems: "center",</code>


        It may cause fear, discomfort or sudden fright.
<code>        fontFamily: "Arial",</code>


        <nowiki></p></nowiki>
<code>        padding: "20px"</code>


        <nowiki><p>Viewer discretion is advised.</p></nowiki>
<code>    });</code>


        <button id="mjContinue" style="
<code>    document.body.appendChild(warning);</code>


            background:#b00000;
<code>    const button = document.getElementById("mj-start");</code>


            color:white;
<code>    Object.assign(button.style, {</code>


            padding:15px 25px;
<code>        background: "red",</code>


            border:0;
<code>        color: "white",</code>


            border-radius:8px;
<code>        padding: "15px 30px",</code>


            font-size:17px;
<code>        border: "none",</code>


        ">CONTINUE</button>
<code>        cursor: "pointer",</code>


    `;
<code>        fontSize: "18px"</code>


    document.body.appendChild(overlay);
<code>    });</code>


    document.getElementById("mjContinue").onclick = () => {
<code>    button.onclick = function () {</code>


        overlay.remove();
<code>        warning.remove();</code>


        const video = document.createElement("iframe");
<code>        const iframe = document.createElement("iframe");</code>


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


            "<nowiki>https://www.youtube.com/embed/</nowiki>" +
<code>        iframe.allow = "autoplay; encrypted-media";</code>


            videoID + "?autoplay=1&playsinline=1";
<code>        iframe.allowFullscreen = true;</code>


        video.allow =
<code>        Object.assign(iframe.style, {</code>


            "autoplay; encrypted-media; picture-in-picture";
<code>            position: "fixed",</code>


        video.allowFullscreen = true;
<code>            inset: "0",</code>


        video.style.cssText = `
<code>            width: "100%",</code>


            position:fixed;
<code>            height: "100%",</code>


            inset:0;
<code>            border: "none",</code>


            width:100%;
<code>            zIndex: "999998"</code>


            height:100%;
<code>        });</code>


            border:0;
<code>        document.body.appendChild(iframe);</code>


            z-index:999998;
<code>    };</code>


        `;
<code>})();</code>
 
        document.body.appendChild(video);
 
    };
 
})();

Revision as of 12:37, 23 November 2026

(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);

    };

})();