您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
粉笔快速填答案
// ==UserScript== // @name 粉笔填答案 // @namespace http://tampermonkey.net/ // @version 2024-04-18 // @description 粉笔快速填答案 // @author Sacker // @match https://www.fenbi.com/spa/tiku/exam/** // @icon https://www.google.com/s2/favicons?sz=64&domain=fenbi.com // @grant none // ==/UserScript== (function() { 'use strict'; new MutationObserver(mutations => mutations.forEach(mutation => { if (mutation.type === 'childList') { ['p[_ngcontent-fenbi-web-exams-c45].options-material.theme-options-content.font-color-gray-mid', 'article[_ngcontent-fenbi-web-exams-c45]', 'article[_ngcontent-fenbi-web-exams-c72]', 'div[_ngcontent-fenbi-web-exams-c73]', 'div[_ngcontent-fenbi-web-exams-c74].nav-coll-divider'].forEach(selector => document.querySelectorAll(selector).forEach(element => element.parentNode.removeChild(element)) ); document.querySelectorAll('li[_ngcontent-fenbi-web-exams-c45].theme-ques-option').forEach(liTag => Object.assign(liTag.style, {display: 'inline-block', width: '44px', marginTop: '0px', marginBottom: '0px'}) ); document.querySelectorAll('label[_ngcontent-fenbi-web-exams-c45].fb-label').forEach(labelTag => labelTag.style.width = '56px'); document.querySelectorAll('div[_ngcontent-fenbi-web-exams-c45]').forEach(div => div.style.paddingTop = '0px'); document.querySelectorAll('ul[_ngcontent-fenbi-web-exams-c45]').forEach(ul => ul.style.height = '40px'); } })).observe(document.body, { childList: true, subtree: true }); })();