AD Closer

This is closer for ad-blocking software message

目前為 2021-10-14 提交的版本,檢視 最新版本

// ==UserScript==
// @name         AD Closer
// @namespace    https://tampermonkey.net/
// @version      0.1
// @description  This is closer for ad-blocking software message
// @author       You
// @match        https://*/*
// @icon         data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==
// @grant        none
// ==/UserScript==
(function() {
    'use strict';
    window.addEventListener('load', function() {
        window.setTimeout(function() {
                if (/You are seeing this message because ad or script blocking software is interfering with this page./i.test(document.body.innerHTML)) {
                    //let nodes = ;
                    document.querySelectorAll('div[style*="bottom: 0px"][style*="position: fixed"]').forEach(d => d.remove());
                    //for(let a=0; a<nodes.length; a++) {
                    //    nodes[a].remove();
                    //}
                }
            }
            , 5000);
    })
})();

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址