Force remove all border styles from web pages
目前為
// ==UserScript==
// @name [MWI]UI Optimization: Borderless Theme Style
// @name:zh-CN [银河奶牛]UI优化:无边框主题样式
// @namespace https://github.com/shenhuanjie
// @version 1.0.0
// @description Force remove all border styles from web pages
// @description:zh-CN [银河奶牛]UI优化:移除网页中所有元素的边框样式
// @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('[全局无边框样式] 已加载,所有元素边框已被移除');
})();