您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
用于修复洛谷插件杂交后的神秘显示 bug
// ==UserScript== // @name 洛谷杂交兼容 // @namespace http://tampermonkey.net/ // @version v0.0.2 // @description 用于修复洛谷插件杂交后的神秘显示 bug // @run-at document_end // @author xk2013 // @license MIT // @match https://www.luogu.com.cn/problem/* // @match https://www.luogu.com/problem/* // @icon https://www.luogu.com.cn/favicon.ico // @grant none // ==/UserScript== (function() { 'use strict'; let element = document.getElementsByClassName("lfe-marked-wrap"); for (let v of element) { let childs = v.childNodes; let parent = v.parentElement; console.log("Got Parent: ", parent); for (let c of childs) { parent.replaceChild(c, v); } } })();