MooMoo.io Visuals

Visually improve moomoo.io by changing the style of the storeHolder and chatBox element

目前為 2024-05-17 提交的版本,檢視 最新版本

// ==UserScript==
// @name         MooMoo.io Visuals
// @name:es      MooMoo.io Visuales
// @namespace    http://tampermonkey.net/
// @version      1.0
// @description  Visually improve moomoo.io by changing the style of the storeHolder and chatBox element
// @description:es  Mejora visualmente moomoo.io cambiando el estilo del elemento storeHolder y chatBox
// @author       Tu Nombre
// @match        *://moomoo.io/*
// @match        *://sandbox.moomoo.io/*
// @grant        none
// @license MIT
// ==/UserScript==

(function() {
    'use strict';

    function changeStyle() {
        var storeHolder = document.getElementById('storeHolder');
        var chatBox = document.getElementById('chatBox');

        if (storeHolder) {
            storeHolder.style.height = '600px';
            storeHolder.style.width = '400px';
        }

        if (chatBox) {
            chatBox.style.backgroundColor = 'rgb(0 0 0 / 0%)';
        }

        if (storeHolder && chatBox) {
            clearInterval(intervalId);
        }
    }

    var intervalId = setInterval(changeStyle, 500);
})();