您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Greasy Fork is available in English.
粉笔网站布局优化
当前为
// ==UserScript== // @name 粉笔网站刷题布局优化 // @namespace https://www.fenbi.com/ // @version 0.1 // @description 粉笔网站布局优化 // @author Zhou // @match *://www.fenbi.com/* // @grant GM_addStyle // ==/UserScript== // practice-header:试卷名横幅 // div.fb-collpase-header.bg-color-gray-mid.border-gray-mid:first-child:答题卡收缩按钮 // fb-collpase-bottom:答题卡 // exam-content:试卷 // ul:横幅上的推广 // fenbi-web-footer:网站信息 (function() { let css=` #app-practice > .practice-header{ visibility: hidden !important; } #app-report-solution >.practice-header{ visibility: hidden !important; } #app-practice > div.fb-collpase-header.bg-color-gray-mid.border-gray-mid:first-child{ visibility: hidden !important; } #app-report-solution > div.fb-collpase-header.bg-color-gray-mid.border-gray-mid:first-child{ visibility: hidden !important; } #app-practice .fb-collpase-bottom{ left: 0 !important; top: 0px !important; max-width: 300px; } #app-report-solution .fb-collpase-bottom{ left: 0 !important; top: 0px !important; max-width: 300px; } #app-practice .fb-collpase-bottom .fb-collpase-content { max-height: 720px; } #app-report-solution .fb-collpase-bottom .fb-collpase-content { max-height: 720px; } #app-practice .exam-content{ top: -80px !important; left: 110px; /* margin: 20px auto 0; */ } #app-report-solution .exam-content{ top: -80px !important; left: 110px; /* margin: 20px auto 0; */ } #fb-web-nav-header > div.nav-header-content > nav.fb-web-nav:nth-child(2) > ul > li:last-child{ visibility: hidden !important; } #fb-web-nav-header > div.nav-header-content > nav.fb-web-nav:nth-child(2) > ul > div.content-filters:nth-child(6){ visibility: hidden !important; } #fenbi-web-footer{ visibility: hidden !important; } ` GM_addStyle(css) })();