Greasy Fork

Greasy Fork is available in English.

Fullscreen Stream Embed Fix

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

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Greasemonkey 油猴子Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Userscripts ,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

// ==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);

})();