您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
优化洛谷首页按钮层叠顺序,使“应用”菜单覆盖左右箭头
// ==UserScript== // @name 洛谷按钮层叠顺序优化 Luogu ZIndex Optimization (LZO) // @namespace https://www.luogu.com.cn/user/237530 // @version 1.0 // @description 优化洛谷首页按钮层叠顺序,使“应用”菜单覆盖左右箭头 // @author rzh123 // @match https://www.luogu.com.cn/* // @license MIT // @grant none // ==/UserScript== function LZO(){ var nodes=document.all; for(var i=0;i<nodes.length;++i){ var obj=nodes[i]; var cls; //alert(obj.tagName+','+obj.nodeType+','+obj.sourceIndex); if(obj.tagName=="A"){ cls=obj.className; if(cls=="am-prev"||cls=="am-next"){ //obj.style.zIndex=3; } } if(obj.tagName=="NAV"){ cls=obj.className; if(cls=="lfe-body"){ obj.style.zIndex=999999; } } } //"am-prev" } function LZO_main(){ 'use strict'; LZO(); } window.onload=LZO_main;
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址