您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
优化显示内容
当前为
// ==UserScript== // @name AGE动漫 // @icon https://acgwy.cc/wp-content/uploads/2023/01/1c5a0-www.agemys.net.png // @namespace http://github.com/Emokui/Sukuna // @version 1.1 // @description 优化显示内容 // @author Musashi // @match https://www.agedm.org/* // @grant none // @run-at document-start // ==/UserScript== (function() { 'use strict'; const selectors = [ 'div.global_notice_box', 'div.global_notice_wrapper', 'img[src="https://p3.toutiaoimg.com/origin/137370002e7fbe11b296a"]', 'a.nav-download-link[href="https://www.agedm.app?ref=www.agedm.org"]', 'div.container.xcontainer.py-2', 'div.text_list_box.links', 'div.foot_content_wrapper.pb-3' ]; function removeElements() { selectors.forEach(selector => { const elements = document.querySelectorAll(selector); if (elements.length) { elements.forEach(el => el.remove()); } }); } function observeDOMChanges() { const observer = new MutationObserver(() => { removeElements(); }); const targetNode = document.body || document.documentElement; if (targetNode) { observer.observe(targetNode, { childList: true, subtree: true }); } } if (document.body) { removeElements(); observeDOMChanges(); } else { document.addEventListener("DOMContentLoaded", () => { removeElements(); observeDOMChanges(); }); } })();
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址