lolcast-coup

롤캐 쿠팡용

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         lolcast-coup
// @namespace    http://tampermonkey.net/
// @version      1.0
// @description  롤캐 쿠팡용
// @author       lolcast
// @match        https://poooom6.blogspot.com/2025/04/livecoupang-play.html*
// @match        https://poooom6.blogspot.com/2025/04/cp*.html*
// @grant        GM_addStyle
// @run-at       document-start
// ==/UserScript==

(function() {
    'use strict';

    const currentUrl = window.location.href;

    if (currentUrl.includes('livecoupang-play.html')) {
        GM_addStyle(`
            #chat {
                display: none !important;
            }
            .wrapper {
                width: 100% !important;
            }
        `);
    }
    else if (currentUrl.includes('/cp')) {
        GM_addStyle(`
            #chat {
                display: none !important;
            }
            #video {
                width: 100vw !important;
                height: 100vh !important;
                position: fixed !important;
                top: 0 !important;
                left: 0 !important;
                object-fit: contain;
                background-color: black;
            }
            body {
                overflow: hidden !important;
            }
        `);
    }
})();