[MWI]UI Optimization: Borderless Theme Style

This script auto-converts UIs to borderless themes via rendering parameter tweaks and CSS injection, seamlessly modernizing interfaces for immersive experiences.

// ==UserScript==
// @name         [MWI]UI Optimization: Borderless Theme Style
// @name:zh-CN   [银河奶牛]UI优化:无边框主题样式
// @namespace    https://github.com/shenhuanjie
// @version      1.0.3
// @description  This script auto-converts UIs to borderless themes via rendering parameter tweaks and CSS injection, seamlessly modernizing interfaces for immersive experiences.
// @description:zh-CN [银河奶牛]通过微调渲染参数和注入 CSS 样式,自动将用户界面转换为无边框主题,无缝实现界面现代化并提升沉浸体验。
// @author       shenhuanjie
// @match        https://www.milkywayidle.com/game*
// @icon         https://www.milkywayidle.com/favicon.svg
// @grant        GM_addStyle
// @license      MIT
// @homepageURL  https://github.com/shenhuanjie/userscripts
// @supportURL   https://github.com/shenhuanjie/userscripts/issues
// @run-at       document-start
// @compatible   chrome Tampermonkey
// @compatible   firefox Greasemonkey
// @compatible   edge Tampermonkey
// @grant        none
// ==/UserScript==

(function() {
    'use strict';

    // Apply global border removal style
    // 应用全局无边框样式
    GM_addStyle(`
        * {
            border: none !important;
        }
    `);

    console.log('[Global Border Remover] Loaded. All element borders have been removed.');
    console.log('[全局无边框样式] 已加载,所有元素边框已被移除');
})();