您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Opens page to your browser's full width
// ==UserScript== // @name MFT Widescreen // @namespace https://www.mftservice.com // @description Opens page to your browser's full width // @include https://www.mftservice.com/* // @exclude https://www.mftservice.com/courier/web/1000@/* // @icon https://www.mftservice.com/courier/themes/templates/1000/nbaSqIEUHtappgKhp/files/images/publicis-mft-white_small.jpg // @version 1.2 // ==/UserScript== function addGlobalStyle(css) { var head, style; head = document.getElementsByTagName('head')[0]; if (!head) { return; } style = document.createElement('style'); style.type = 'text/css'; style.innerHTML = css; head.appendChild(style); } // removes hard coded width addGlobalStyle('#page {width: 100% !important; padding: 0 !important; }'); //widens the left workspace a little //second line is a workaround to prevent the right view from going to the bottom addGlobalStyle('#cabinets {width: 250px}'); addGlobalStyle('.wsview {margin: 0 -15px 0 -7px}'); //optional code to remove much of the footer information addGlobalStyle('#main {margin-bottom: 0px !important; }'); addGlobalStyle('#footer {padding: 0 !important;}'); addGlobalStyle('#securedlogo {height: 0px !important;}');