Fullscreen Stream Embed Fix

removes the new retarded ass embeds on bigscreen that places streams in a tiny box

คุณจะต้องติดตั้งส่วนขยาย เช่น Tampermonkey, Greasemonkey หรือ Violentmonkey เพื่อติดตั้งสคริปต์นี้

You will need to install an extension such as Tampermonkey to install this script.

คุณจะต้องติดตั้งส่วนขยาย เช่น Tampermonkey หรือ Violentmonkey เพื่อติดตั้งสคริปต์นี้

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        Fullscreen Stream Embed Fix
// @namespace   Violentmonkey Scripts
// @match       https://www.destiny.gg/bigscreen
// @grant       none
// @version     1.1.1
// @author      777mmHg
// @description removes the new retarded ass embeds on bigscreen that places streams in a tiny box
// @license     GNU General Public License, version 2
// ==/UserScript==

(function() {
    'use strict';

    function removeStreamControls() {
        const streamControls = document.querySelector('.stream-controls');
        if (streamControls) {
            streamControls.remove();
        }
    }

    function setStreamWrapStyles() {
        const streamWrap = document.querySelector('.stream-panel__wrap');
        if (streamWrap) {
            streamWrap.style.padding = '0';
            streamWrap.style.backgroundColor = 'transparent';
        }
    }

    function applyCustomizations() {
        removeStreamControls();
        setStreamWrapStyles();
    }

    // Run the functions when the page is fully loaded
    window.addEventListener('load', applyCustomizations);

    // Run the functions when the hash changes
    window.addEventListener('hashchange', applyCustomizations);

})();