您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Remove all Ad block detectors
// ==UserScript== // @name Morioh - Removes the adblock detector on site morioh // @namespace https://morioh.com/ // @version 0.2 // @description Remove all Ad block detectors // @author TheSnegok // @match https://morioh.com/* // @icon https://www.google.com/s2/favicons?sz=64&domain=morioh.com // @grant none // @license MIT // ==/UserScript== (function() { 'use strict'; const html = document.querySelector('html'); const observer = new MutationObserver(() => { for (const element of document.body.querySelectorAll("*")) { const zIndex = window.getComputedStyle(element).zIndex; const onlyNumbers = zIndex.match(/[0-9]/); if (onlyNumbers !== null && zIndex >= 9) { element.style.display = 'none'; html.style.overflow = 'auto'; document.body.style.overflow = 'auto'; } } }); observer.observe(document.body, { attributes: true, childList: true, subtree: true }); })();