您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
The forums now use 90% of the screen.
// ==UserScript== // @name FusionFall Universe Forums Widescreen // @namespace time to take a // @version 1.0.1 // @description The forums now use 90% of the screen. // @author Superstarxalien // @match https://www.forums.fusionfalluniverse.com/* // @grant none // ==/UserScript== (function() { function widescreenAmIDoingThisRight() { var forum = document.getElementsByTagName("div"); var forumContent = document.getElementById("wrapper"); forum[7].style.width = "100%"; forum[7].style.maxWidth = "90%"; forumContent.style.width = "100%"; //header screen fix forum[4].style.width = "100%" forum[4].style.maxWidth = "90%" forum[5].style.width = "100%" forum[5].style.maxWidth = "90%" forum[5].style.marginLeft = "0px" } widescreenAmIDoingThisRight(); //css fix so the main page doesn't look ugly var css = ` table.table_list{ width: auto; padding-right: 10px;} `; var head = document.head || document.getElementsByTagName('head')[0], style = document.createElement('style'); style.type = 'text/css'; if (style.styleSheet) { style.styleSheet.cssText = css; } else { style.appendChild(document.createTextNode(css)); } head.appendChild(style); })();