您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
修正落后的EOL系统中一些奇怪的样式
// ==UserScript== // @name EOL iFrame样式修正 // @namespace http://terrace.ink/ // @version 0.1 // @description 修正落后的EOL系统中一些奇怪的样式 // @author TerraceCN // @match http://eol.yzu.edu.cn/meol/* // @icon http://eol.yzu.edu.cn/favicon.ico // @grant none // ==/UserScript== (function() { 'use strict'; var mainFrame = document.getElementById("mainFrame"); if (mainFrame) { mainFrame.setAttribute('scrolling', 'yes'); mainFrame.style.height = '100vh'; } const shareBoxObserver = new MutationObserver(function (mutationsList, observer) { for (let mutation of mutationsList) { for (let node of mutation.addedNodes) { if (node?.className?.match(/bdshare.*/)) { node.remove(); } } } }); shareBoxObserver.observe(document.body, { childList: true }); })();