Moomoo.io Custom Visuals

Agrega visuales personalizadas a Moomoo.io

目前為 2023-07-05 提交的版本,檢視 最新版本

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

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

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

// ==UserScript==
// @name         Moomoo.io Custom Visuals
// @namespace    https://www.example.com
// @version      1.0
// @description  Agrega visuales personalizadas a Moomoo.io
// @author       Tu Nombre
// @match        https://moomoo.io/*
// @grant        GM_addStyle
// ==/UserScript==

(function() {
    'use strict';

    // Agrega aquí tus modificaciones visuales personalizadas
    // Puedes usar estilos CSS para cambiar la apariencia de los elementos

    // Ejemplo: Modificar el leaderboard y los indicadores de recursos
    GM_addStyle(`
        #leaderboard {
            border: 4px solid #9cb1e8; // Cambia el color y el grosor de la línea aquí
            border-radius: 5px;
        }

        .resource-counter {
            background-color: #9cb1e8; // Cambia el color de fondo aquí
            color: white; // Cambia el color del texto aquí
            border: 2px solid #9cb1e8; // Cambia el color del borde aquí
            border-radius: 5px;
            padding: 4px 8px;
            margin-right: 5px; // Añade un margen derecho para separar los indicadores de recursos
        }

        .resource-counter::before {
            content: "";
            display: inline-block;
            width: 8px;
            height: 8px;
            border: 2px solid #9cb1e8; // Cambia el color del borde aquí
            border-radius: 50%;
            margin-right: 4px;
        }
    `);

    // Agregar una imagen de fondo en el lobby
    GM_addStyle(`
        body.lobby-page {
            background-image: url('URL_DE_LA_IMAGEN'); // Reemplaza 'URL_DE_LA_IMAGEN' con la URL de tu imagen de fondo
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
        }
    `);

    // Establecer un cursor personalizado
    GM_addStyle(`
        body {
            cursor: url('URL_DEL_CURSOR'), auto !important; // Reemplaza 'URL_DEL_CURSOR' con la URL de tu cursor personalizado
        }
    `);

    // ¡Agrega más modificaciones visuales según tus preferencias!

})();