Ads-Blocked! (⛔)

Ads block all websites

目前为 2025-01-28 提交的版本。查看 最新版本

// ==UserScript==
// @name         Ads-Blocked! (⛔)
// @namespace    http://tampermonkey.net/
// @version      1.1.2
// @description  Ads block all websites
// @author       Tijuslemon
// @license      Copyright - Tijuslemon
// @match        *://*/*
// @grant        none
// @run-at       document-start
// ==/UserScript==

(function () {
    "use strict";

    if (typeof jQuery == "undefined") {
        const script = document.createElement("script");
        script.src = "https://code.jquery.com/jquery-3.6.0.min.js";
        script.onload = function () {
            runScript();
        };
        document.head.appendChild(script);
    } else {
        runScript();
    }

    function runScript() {
        const showNotification = (message) => {
            const notification = document.createElement("div");
            notification.textContent = message;
            notification.style.position = "fixed";
            notification.style.bottom = "20px";
            notification.style.right = "20px";
            notification.style.backgroundColor = "#E3FE01";
            notification.style.color = "#000";
            notification.style.padding = "10px 20px";
            notification.style.borderRadius = "5px";
            notification.style.boxShadow = "0 2px 5px rgba(0, 0, 0, 0.2)";
            notification.style.zIndex = "10000";
            notification.style.fontWeight = "bold";
            notification.style.fontFamily = "Arial, sans-serif";
            notification.style.fontSize = "14px";
            notification.style.opacity = "1";
            notification.style.transition = "opacity 1s ease";
            document.body.appendChild(notification);

            setTimeout(() => {
                notification.style.opacity = "0";
                setTimeout(() => {
                    notification.remove();
                }, 1000);
            }, 2000);
        };

        const blockAds = () => {
            const selectors = [
                'script[src*="pagead2.googlesyndication.com"]',
                "ins.adsbygoogle",
                'script[src*="securepubads.g.doubleclick.net"]',
                'div[id^="div-gpt-ad"]',
                'iframe[src*="ads"]',
                'iframe[src*="doubleclick"]',
                'script[src*="cdn.bmcdn6.com"]',
                'iframe[src*="cdn.bmcdn6.com"]',
                'a[href*="cdn.bmcdn6.com"]',
                'div[data-ad-host="cdn.bmcdn6.com"]',
                'ins[class*="cdn.bmcdn6.com"]',
                'script[src*="pagead2.googlesyndication.com"]',
                "ins.adsbygoogle",
                'script[src*="securepubads.g.doubleclick.net"]',
                'div[id^="div-gpt-ad"]',
                'center > script[src*="googlesyndication.com"]',
                "center > ins.adsbygoogle",
                'iframe[src*="ads"]',
                'iframe[src*="doubleclick"]',
                'iframe[src*="cryptocoinsad.com"]',
                'iframe[src*="trk.cases.gg"]',
                'iframe[src*="ad.a-ads.com"]',
                'iframe[src*="fpadserver.com"]',
                'ins[class*="657b2a5372c32bcace716bc7"]',
                'ins[class*="663a063927cab6420bf09263"]',
                "affiliate",
                'a[href*="trk.cases.gg"]',
                'img[src*="-5084989207289638116_120.jpg"]',
                'div[id="banner-container"]',
                'div[class="banner30"]',
                'div[class="banner30"] iframe',
                'div[class="ads"]',
                'ins[class*="6295f53eb2e2b443b6100720"]',
                'script[src*="coinzillatag.com"]',
                'div[class="coinzilla"]',
                'script[src*="coinzillatag.com/lib/display.js"]',
                'script[src*="appsha-lon2.cointraffic.io"]',
                'script[src*="coinzillatag.com/lib/fp.js"]',
                '[id^="ad-"]',
                '[class^="ad-"]',
                '[id*="ads"]',
                '[class*="ads"]',
                '[id*="banner"]',
                '[class*="banner"]',
                '[id*="sponsored"]',
                '[class*="sponsored"]',
                '[class*="popup-ad"]',
                '[id*="popup-ad"]',
                '[class*="sticky-ad"]',
                '[id*="sticky-ad"]',
                '[id*="promo"]',
                '[class*="promo"]',
                "div[data-ad]",
                "section[data-ad]",
                "aside[data-ad]",
                'script[src*="adsbygoogle.js"]',
                'ins[data-ad-client="ca-pub-5543899617659266"]',
                'center > script[src*="googlesyndication.com"]',
                "center > ins[data-ad-client]",
                "form#verification-form",
                'script[type="5f2929648a8e931cc508ef2d-text/javascript"]',
                'div[class*="slide-down-ad"]',
                'div[class*="floating-banner"]',
                'div[class*="top-banner"]',
                '[id*="top-ad"]',
                '[class*="scrolling-ad"]',
                'div[class="ads"] center script[type="b4898b6ee057a1e676b80990-text/javascript"]',
                'span[id^="ct_cJTP2jOh3nU"]',
                'iframe[src*="cryptocoinsad.com"]',
                'script[src*="infantilecombination.com"]',
                'iframe[src*="cryptocoinsad.com/ads/show.php"]',
                'iframe[src*="fpadserver.com/banner"]',
                'script[src*="sweetalert2@11"]',
                'script[src*="appsha-pnd.ctengine.io/js/script.js"]',
                'script[src*="adoto.net/dashboard/display/items.php"]',
                'script[src*="static.surfe.pro/js/net.js"]',
                'script[src*="sweetalert2@11"]',
                'ins[class*="672213f851ecd31715dba5fe"]',
                'ins[class*="670e06d690d2d639609ac126"]',
                'ins[class*="670e0604207e0b3e24b57c03"]',
                'iframe[src*="https://cryptocoinsad.com/ads/show.php?"]',
                '[class*="banner30"]',
                'iframe[src*="fpadserver.com/banner?id="]',
                'iframe[src*="cryptocoinsad.com"]',
                "#revbid-mobile-533",
                'script[src*="pemsrv.com/popunder1000.js"]',
                'script[src*="js.wpadmngr.com/static/adManager.js"]',
                'div[id="revbid-square-2628"]',
                'script[src*="prebid.revbid.net"]',
                'script[src*="cryptocoinsad.com/ads/js/popunder.js"]',
                'iframe[src*="cryptocoinsad.com/ads/show.php?a=256518&b=399183"]',
                'iframe[src*="cryptocoinsad.com/ads/show.php?a=256518&b=397275"]',
                'iframe[src*="cryptocoinsad.com/ads/show.php?a=256518&b=397276"]',
                'script[src*="cimtaiphos.com/401"]',
                'script[src*="shebudriftaiter.net/tag.min.js"]',
                'iframe[src*="api.fpadserver.com/banner?id=9499"]',
                "div.ads",
                "ins.surfe-be",
                'ins[class^="67612"]',
                'script[src*="pubfig.min.js"]',
                'link[href*="pub.network"]',
                'link[href*="cls.css"]',
                'script[src*="ctengine.io"]',
                'span.lebox[data-id="2"]',
                'span.lebox[data-id="1"]',
                'span[id="ct_ctlka4nb20G"]',
                'ins.surfe-be[data-sid="402709"]',
                'script[src*="ctengine.io"]',
                'span.lebox[data-id="6"]',
                'iframe[src*="zerads.com"]',
                'script[id="lebox-remote"]',
                'script[src*="pagead2.googlesyndication.com"]',
                "ins.adsbygoogle",
                'script[src*="securepubads.g.doubleclick.net"]',
                'div[id^="div-gpt-ad"]',
                'center > script[src*="googlesyndication.com"]',
                "center > ins.adsbygoogle",
                'iframe[src*="doubleclick"]',
                'ins[class^="6763d3ebbb5e8c3565791ad4"]',
                ".banner20",
                'script[src*="supercounters.com"]',
                'div[style*="position:fixed"]',
                "div#ad-container",
                "div.ad-banner",
                'iframe[src*="ads"]',
                ".advertisement",
                ".banner-ad",
                
                'div[style*="position:fixed;padding:3px;bottom:35px;left:7px;width:300px;height:250px;z-index:999999"]',
                'ins[class^="6763d37bbb5e8c3565791854"]',
                'ins[class^="6763d412f8e979b3e352ec51"]',
                'script[src*="surfe.pro/js/net.js"]',
                'ins[class^="6763d37bbb5e8c3565791854"][style*="width:300px;height:250px"]',
                'ins[class^="6763d37bbb5e8c3565791854"][style*="width:1px;height:1px"]',
                "div[data-freestar-ad]",
                'script[src*="freestar"]',
                'div[id^="codebeautify_"][data-freestar-ad]',
                'iframe[src="https://zerads.com/ad/ad.php?"]',
                'script[src*="apps-sg1.adsgravity.io"]',
                'iframe[src*="surfe.pro/net/click?id="]',
                'script[src*="pagead2.googlesyndication.com"]',
                "ins.adsbygoogle",
                'script[src*="securepubads.g.doubleclick.net"]',
                'div[id^="div-gpt-ad"]',
                'center > script[src*="googlesyndication.com"]',
                "center > ins.adsbygoogle",
                'iframe[src*="doubleclick"]',
                'iframe[src*="cryptocoinsad.com"]',
                'iframe[src*="trk.cases.gg"]',
                'iframe[src*="ad.a-ads.com"]',
                'iframe[src*="fpadserver.com"]',
                'ins[class*="657b2a5372c32bcace716bc7"]',
                'ins[class*="663a063927cab6420bf09263"]',
                "affiliate",
                'a[href*="trk.cases.gg"]',
                'img[src*="-5084989207289638116_120.jpg"]',
                'div[id="banner-container"]',
                'div[class="banner30"]',
                'div[class="banner30"] iframe',
                'div[class="ads"]',
                'ins[class*="6295f53eb2e2b443b6100720"]',
                'script[src*="coinzillatag.com"]',
                'div[class="coinzilla"]',
                'script[src*="coinzillatag.com/lib/display.js"]',
                'script[src*="appsha-lon2.cointraffic.io"]',
                'script[src*="coinzillatag.com/lib/fp.js"]',
                '[id^="ad-"]',
                '[class^="ad-"]',
                '[id*="ads"]',
                '[class*="ads"]',
                '[id*="banner"]',
                '[class*="banner"]',
                '[id*="sponsored"]',
                '[class*="sponsored"]',
                '[class*="popup-ad"]',
                '[id*="popup-ad"]',
                '[class*="sticky-ad"]',
                '[id*="sticky-ad"]',
                '[id*="promo"]',
                '[class*="promo"]',
                "div[data-ad]",
                "section[data-ad]",
                "aside[data-ad]",
                'script[src*="adsbygoogle.js"]',
                'ins[data-ad-client="ca-pub-5543899617659266"]',
                'center > script[src*="googlesyndication.com"]',
                "center > ins[data-ad-client]",
                "form#verification-form",
                'script[type="5f2929648a8e931cc508ef2d-text/javascript"]',
                'div[class*="slide-down-ad"]',
                'div[class*="floating-banner"]',
                'div[class*="top-banner"]',
                '[id*="top-ad"]',
                '[class*="scrolling-ad"]',
                'div[class="ads"] center script[type="b4898b6ee057a1e676b80990-text/javascript"]',
                'span[id^="ct_cJTP2jOh3nU"]',
                'script[src*="infantilecombination.com"]',
                'iframe[src*="cryptocoinsad.com/ads/show.php"]',
                'iframe[src*="fpadserver.com/banner"]',
                'script[src*="sweetalert2@11"]',
                'script[src*="appsha-pnd.ctengine.io/js/script.js"]',
                'script[src*="adoto.net/dashboard/display/items.php"]',
                'script[src*="static.surfe.pro/js/net.js"]',
                'ins[class*="672213f851ecd31715dba5fe"]',
                'ins[class*="670e06d690d2d639609ac126"]',
                'ins[class*="670e0604207e0b3e24b57c03"]',
                'iframe[src*="https://cryptocoinsad.com/ads/show.php?"]',
                '[class*="banner30"]',
                'iframe[src*="fpadserver.com/banner?id="]',
                'iframe[src*="cryptocoinsad.com"]',
                "#revbid-mobile-533",
                'script[src*="pemsrv.com/popunder1000.js"]',
                'script[src*="js.wpadmngr.com/static/adManager.js"]',
                'div[id="revbid-square-2628"]',
                'script[src*="prebid.revbid.net"]',
                'script[src*="cryptocoinsad.com/ads/js/popunder.js"]',
                'iframe[src*="cryptocoinsad.com/ads/show.php?a=256518&b=399183"]',
                'iframe[src*="cryptocoinsad.com/ads/show.php?a=256518&b=397275"]',
                'iframe[src*="cryptocoinsad.com/ads/show.php?a=256518&b=397276"]',
                'script[src*="cimtaiphos.com/401"]',
                'script[src*="shebudriftaiter.net/tag.min.js"]',
                'iframe[src*="api.fpadserver.com/banner?id=9499"]',
                "div.ads",
                "ins.surfe-be",
                'ins[class^="67612"]',
                'script[src*="pubfig.min.js"]',
                'link[href*="pub.network"]',
                'link[href*="cls.css"]',
                'script[src*="ctengine.io"]',
                'span.lebox[data-id="2"]',
                'span.lebox[data-id="1"]',
                'span[id="ct_ctlka4nb20G"]',
                'ins.surfe-be[data-sid="402709"]',
                'span.lebox[data-id="6"]',
                'iframe[src*="zerads.com"]',
                'script[id="lebox-remote"]',
                'div.container div.row div[class*="reward_table_box"]',
                'a[href*="bit.ly/AoyBitADS8"]',
                'a[href*="bit.ly/40mEd9U"]',
                'a[href*="aoybit.pro/sponsor"]',
                'ins[class*="surfe-be"]',
                'script[src*="surfe.pro/js/net.js"]',
                'a[href*="surfe.pro/"]',
                'a[href*="surfe.be/"]',
                'a[href*="https://apps-sg1.adsgravity.io/v1/click?rid="]',
                'a[href*="surfe.be/ext/"]',
                'iframe[src*="surfe.be/"]',
                'script[src*="static.surfe.pro/js/net.js"]',
                'iframe[src*="zerads.com/ad/ad.php"]',
                'span[class*="lebox"]',
                'span[class*="lebox"][data-id="6"]',
                'iframe[src*="zerads.com/ad/ad.php?width=468&ref=6177"]',
                'iframe[src*="zerads.com/ad/ad.php?width=468"]',
                'img[src*="mmfaucet.xyz"]',
                'img[src*="mmfaucet.xyz/view/img/"]',
                'iframe[src*="apps-sg1.adsgravity.io/v1/load?"]',
                'a[href*="surfe.pro"]',
                'a[href*="static.surfe.pro/"]',
                'a[href*="surfe.pro/net/click?id"]',
                '[class*="sbt-item-text sbt-item-link"]',
                'iframe[src*="apps-sg1.adsgravity.io"]',
                '[onclick*="$(this).parent().fadeOut();"]',
                '[class*="c92148ce-248e-4cab-b9a5-aeb824236373"]',
                'img[src="https://mmfaucet.xyz/view/img/paws-top.png"]',
                'a[href*="bit.ly/2W58XtH"]',
                'a[href*="bit.ly/"]',
                'a[href*="cdn.bmcdn6.com/go?"]',
                'iframe[src*="fpadserver.com/banner"]',
                'ins[class*="66d54b44ec24bb3d858804fc"]',
                'ins[class*="66d54b44ec24bb3d858804fc"][style*="width:300px;height:250px"]',
                'ins[class*="66d54b44ec24bb3d858804fc"][style*="width:300px;height:100px"]',
                'ins[class*="66f2f583bed130c2215ecad2"]',
                'ins[class*="66f856efe9cceee4663bb930"]',
                'ins[class*="66f2f583bed130c2215ecad2"][style*="width:300px;height:250px"]',
                'ins[class*="66f24ca8ae33b7657a388f0f"]',
                'script[src*="cdn.bmcdn6.com/js/66d54b44ec24bb3d858804fc.js"]',
                'script[src*="cdn.bmcdn6.com/js/66f2f583bed130c2215ecad2.js"]',
                'script[src*="cdn.bmcdn6.com/js/66f856efe9cceee4663bb930.js"]',
                'script[src*="cdn.bmcdn6.com/js/66f24ca8ae33b7657a388f0f.js"]',
                'iframe[src*="cryptocoinsad.com/ads/show.php?a=256518&b=399183"]',
                'iframe[src*="cryptocoinsad.com/ads/show.php?a=256518&b=397277"]',
                'div[data-placement-id="revbid-mobile"]',
                'script[src*="pemsrv.com/popunder1000.js"]',
                'script[src*="cryptocoinsad.com/ads/js/popunder.js"]',
                'iframe[src*="fpadserver.com/banner"]',
                'iframe[src*="cryptocoinsad.com/ads/show.php?a=256518&b=397275"]',
                'iframe[src*="cryptocoinsad.com/ads/show.php?a=256518&b=397276"]',
                'iframe[src*="coinserom.com/publisher?adsunit=34363935"]',
                'script[src*="surfe.pro/js/net.js"]',
                'ins[class*="66e798f7901edbda5a005020"]',
                'script[src*="appsha-pnd.ctengine.io/js/script.js"]',
                'script[src*="googletagmanager.com/gtag/js?id=G-48LGRG30FT"]',
                'script[src*="googletagmanager.com/gtm.js?id=GTM-MRS76DFD"]',
                'iframe[src*="cryptocoinsad.com/ads/show.php?a=257624&b=399456"]',
                'script[src*="prebid.revbid.net"]',
                'div.container div.row div[class*="reward_table_box"]',
                'div[class*="reward_table_box"]',
                'a[href*="bit.ly/40mEd9U"]',
                'a[href*="aoybit.pro/sponsor"]',
                'a[href*="surfe.be/"]',
                'div.alert.alert-light.text-center a[href*="bit.ly/40mEd9U"]',
                'div.alert.alert-light.text-center span.text-muted a[href*="bit.ly/40mEd9U"]',
                "span.badge.bg-dark.bg-opacity-10",
                'img[src*="adbtc.top"]',
                '[src*="a.pemsrv.com/popunder1000.js"]',
                'div[id*="ccnsad-pop"]',
                '[onclick*="ccnsadPopClick()"]',
                '[title*="offer"]',
                '[class*="iv6bGFFrBm2OTsdCZq8K"]',
                'iframe[style*="position: fixed; width: 100%; height: 100%; inset: 0px; opacity: 0; z-index: 2147483647;"]',
                '[src*="securepubads.g.doubleclick.net/tag/js/gpt.js"]',
                '[src*="js.capndr.com/advertising.js"]',
                '[src*="pixel.yabidos.com/fltiu.js?"]',
                '[name*="fet9ju0ca52n9"]',
                'meta[http-equiv*="origin-trial"]',
                '[content*="AlK2UR5SkAlj8jjdEc9p3F3xuFYlF6LYjAML3EOqw1g26eCwWPjdmecULvBH5MVPoqKYrOfPhYVL71xAXI1IBQoAAAB8eyJvcmlnaW4iOiJodHRwczovL2RvdWJsZWNsaWNrLm5ldDo0NDMiLCJmZWF0dXJlIjoiV2ViVmlld1hSZXF1ZXN0ZWRXaXRoRGVwcmVjYXRpb24iLCJleHBpcnkiOjE3NTgwNjcxOTksImlzU3ViZG9tYWluIjp0cnVlfQ=="]',
                '[content*="Amm8/NmvvQfhwCib6I7ZsmUxiSCfOxWxHayJwyU1r3gRIItzr7bNQid6O8ZYaE1GSQTa69WwhPC9flq/oYkRBwsAAACCeyJvcmlnaW4iOiJodHRwczovL2dvb2dsZXN5bmRpY2F0aW9uLmNvbTo0NDMiLCJmZWF0dXJlIjoiV2ViVmlld1hSZXF1ZXN0ZWRXaXRoRGVwcmVjYXRpb24iLCJleHBpcnkiOjE3NTgwNjcxOTksImlzU3ViZG9tYWluIjp0cnVlfQ=="]',
                '[content*="A9wSqI5i0iwGdf6L1CERNdmsTPgVu44ewj8QxTBYgsv1LCPUVF7YmWOvTappqB1139jAymxUW/RO8zmMqo4zlAAAAACNeyJvcmlnaW4iOiJodHRwczovL2RvdWJsZWNsaWNrLm5ldDo0NDMiLCJmZWF0dXJlIjoiRmxlZGdlQmlkZGluZ0FuZEF1Y3Rpb25TZXJ2ZXIiLCJleHBpcnkiOjE3MzY4MTI4MDAsImlzU3ViZG9tYWluIjp0cnVlLCJpc1RoaXJkUGFydHkiOnRydWV9"]',
                '[content*="A+d7vJfYtay4OUbdtRPZA3y7bKQLsxaMEPmxgfhBGqKXNrdkCQeJlUwqa6EBbSfjwFtJWTrWIioXeMW+y8bWAgQAAACTeyJvcmlnaW4iOiJodHRwczovL2dvb2dsZXN5bmRpY2F0aW9uLmNvbTo0NDMiLCJmZWF0dXJlIjoiRmxlZGdlQmlkZGluZ0FuZEF1Y3Rpb25TZXJ2ZXIiLCJleHBpcnkiOjE3MzY4MTI4MDAsImlzU3ViZG9tYWluIjp0cnVlLCJpc1RoaXJkUGFydHkiOnRydWV9"]',
                'script[src*="securepubads.g.doubleclick.net/"]',
                'link[href*="securepubads.g.doubleclick.net/"]',
                '[src*="js.sddan.com/"]',
                '[src*="tzegilo.com/stattag.js"]',
                'script[src*="js.wpushsdk.com/npc/sdk/wpu/npush.m.js"]',
                '[src*="js.wpushsdk.com/skins/nmain.m.js"]',
                'div[data-placement-id*="revbid-mobile"]',
                '[id*="revbid-mobile-533"]',
                'div[style*="width: 100%; height: 100%; background-image: url("https://revbid.net/rb.png"); background-size: contain; background-repeat: no-repeat;"]',
                '[src*="a.pemsrv.com/popunder1000.js"]',
                '[src*="js.wpadmngr.com/static/adManager.js"]',
                'div[data-placement-id*="revbid-square"]',
                '[id*="revbid-square-2628"]',
                '[src*="prebid.revbid.net/3164/revbid.js"]',
                '[src*="cryptocoinsad.com/ads/js/popunder.js"]',
                "cimtaiphos.com",
                "shebudriftaiter.net/tag.min.js",
                'iframe[id*="banner_advert_wrapper_9499"]',
                '[src*="api.fpadserver.com/banner?"]',
                "(adsurfebe = window.adsurfebe || []).push({})",
                'script[src*="cimtaiphos.com/"]',
                'script[src="shebudriftaiter.net/tag.min.js"]',
                'div[id*="aniBox" style="overflow: hidden; transition:"]',
                'div[id*="aniplayer_AV672b826c190c69bb4e0b4b05-1737701281561"]',
                '[style*="z-index: 10000001; position: fixed; bottom: 0px; right: 0px; transform: scale(1); transform-origin: right bottom; visibility: hidden;"]',
                'div[id*="aniplayer_AV672b826c190c69bb4e0b4b05-1737701281561gui"]',
                'div[id*="videoslot" style="background-color: rgb(0, 0, 0); width: 450px; height: 253px;" class="loaded"]',
                'span[style*="height: 30px; width: 30px; background-image: url("https://revbid.net/rb.png");"]',
                'script[src*="https://player.aniview.com/script/6.1/ab5/player.js"]',
                'iframe[id*="AVLoaderaniplayer_AV672b826c190c69bb4e0b4b05-1737701281561"]',
                '[src*="about:blank" style="display: none;"]',
                '[src*="pixel.yabidos.com/flimpobj.js?"]',
                'iframe[src*="storage.multstorage.com/log/count.html"]',
                'iframe[referrerpolicy*="no-referrer"]',
                '[src*="s.uuidksinc.net/"]',
                '[src*="lbs-eu1.ads.betweendigital.com/"]',
                '[src*="sync.1rx.io/"]',
                '[src*="ct.sddan.com/"]',
                'div[class*="_4KjPzfFqnPyBgIgiXkX skjdqirBD7_WSGmgBaTD oAWJ1Ltlnofke8Akcyko PVlu5dykxThc_sps_kiG amMb78RPPU8tNuFfBZUD"]',
                '[class*="iv6bGFFrBm2OTsdCZq8K"]',
                '[src*="creativecdn.com/"]',
                '[src*="ssbsync.smartadserver.com/"]',
                '[src*="ads.pubmatic.com/"]',
                '[src*="u.openx.net/"]',
                '[src*="ap.lijit.com/beacon/prebid-server/?"]',
                '[src*="pbs-cs.minutemedia-prebid.com/"]',
                '[src*="ice.360yield.com/"]',
                '[src*="prebid.a-mo.net/"]',
                '[src*="ssc-cms.33across.com/"]',
                '[src*="match.sharethrough.com/"]',
                '[src*="eb2.3lift.com/"]',
                '[src*="usync.ingage.tech?"]',
                '[src*="sync.connectad.io/"]',
                '[src*="cs.admanmedia.com/"]',
                '[src*="csync.smilewanted.com/"]',
                '[src*="ssum-sec.casalemedia.com/"]',
                '[src*="sync.richaudience.com/"]',
                '[src*="cm.adform.net/"]',
                '[src*="u.openx.net/"]',
                '[src*="prebid.a-mo.net/"]',
                '[src*="creativecdn.com/"]',
                '[src*="static.cdn.admatic.com.tr/"]',
                '[src*="onetag-sys.com/"]',
                '[src*="sync.kueezrtb.com/"]',
                '[src*="visitor.omnitagjs.com/"]',
                'iframe[name*="goog_topics_frame"]',
                '[src*="securepubads.g.doubleclick.net/"]',                
                'script:contains("(adsurfebe = window.adsurfebe || []).push({});")',
                'a[target*="_blank"]',
                // new elements
                'div[data-placement-id*="revbid-mobile"]',
                '[id*="revbid-mobile-533"]',
                'var[ad_idzone*= "5507974"]',
                // Popup
                'div[id*="ccnsad-pop" style="position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 999999;" onclick="ccnsadPopClick()"]',
                'iframe[scrolling*="no"]',
                '[title*="offer"]',
                '[class="iv6bGFFrBm2OTsdCZq8K"]',
                'iframe[style*="width: 100% !important; height: 100% !important; opacity: 1 !important; max-width: 100% !important; border: 0px !important; position: fixed !important; display: block !important; z-index: 2147483647 !important; inset: 0px 0px auto auto !important; background: rgba(0, 0, 0, 0.3) !important; color-scheme: auto !important; min-height: 100% !important; visibility: visible;"]',
                'iframe[style*="position: fixed; width: 100%; height: 100%; inset: 0px; opacity: 0; z-index: 2147483647;"]',
                '[iframe scrolling="no" title="offer" class="iv6bGFFrBm2OTsdCZq8K"]',
                'script[src*="cimtaiphos.com"]',
                'script[src*="shebudriftaiter.net"]',
                'script[data-zone="5516376"]',
                'script[data-zone="5361513"]',
                'script[data-zone="5516440"]',
                // ads in javascript
                'script:contains("ad_idzone")',
                'script:contains("ad_popup_force")',
                'script:contains("ad_popup_fallback")',
                'script:contains("ad_chrome_enabled")',
                'script:contains("ad_new_tab")',
                'script:contains("ad_frequency_count")',
                'script:contains("ad_frequency_period")',
                'script:contains("ad_trigger_method")',
                'script:contains("ad_capping_enabled")',
                'script:contains("ad_trigger_delay")',
                // ads redirect langsung tiap buka url
                '[src*="script.4dex.io/localstore.js"]',
                '[src*="static.kueezrtb.com/js/latest.js?_=1737822759835"]',
                '[src*="choices.consentframework.com/js/pa/36370/c/EK5ip/cmp"]',
                '[src*="www.googletagmanager.com/"]',
                '[src*="claim.ourcoincash.xyz/assets/js/webjs/sweetalert.min.js"]',
                // Memblokir popup cpm.revbid.net
                'iframe[src*="cpm.revbid.net"]',
                'script[src*="cpm.revbid.net"]',
                'img[src*="cpm.revbid.net"]',
                'iframe[src*="revbit"]',
                'script[src*="revbit"]',
                'img[src*="revbit"]',
                // AdBlock Detector Aoybit.Pro
                '[href*="/style/abdetectorpro.style.css"]',
                'script[src*="/js/abdetectorpro.script.js"]',
                'script:contains("window.addEventListener")',
                'script:contains("function(event)")',
                'script:contains("abDetectorPro.init()")',
                "script:contains('window.addEventListener('load', function(event) {abDetectorPro.init();});')",
                'div[class="pAds right-bottom"]',
                'div[class="close"]',
                'div[class="Area 300 250"]',
                "iframe[data-aa='2312994']",
                "[src='//ad.a-ads.com/2312994?size=300x250']",
                "i[class='bx bx-shield-alt-2']",
                "i[class='bx bx-error-alt']",
                'script[src="https://rsfaucet.com/js/ad.js"]',
                'script[src="js/main.js"]',
                'meta[name="zirof-verification"]',
                '[content="075199F8279CE500"]',
                'meta[name="coinzilla"]',
                '[content="7add7226e4fee5501a6f8e573c93d9a3"]',
                'meta[confirm="partners-house-185169"]',
                'meta[name="5dbcbe38d6e4e8e1d6afeaf4b5a9d4b47de65146"]',
                '[content="5dbcbe38d6e4e8e1d6afeaf4b5a9d4b47de65146"]',
                'meta[name="clckd"]',
                '[content="f5c878fc74228de6c17fa50c41bb3e7f"]',
                'meta[name="google-site-verification"]',
                'content="ldkKPNQTfDNuRSvVKDb2E7AsHYYKaxL3nj4tg6VktXs"]',
                'link[rel*="preload"]',
                '[as*="script"]',
                '[href*="//widget.supercounters.com/"]',
                '[href*="www.googletagmanager.com/"]',
                'a[href*="https://surfe.pro/net/click?id="]',
                '[class*="sbt-item-text sbt-item-link"]',
                '[rel*="nofollow sponsored"]',
                // AdBlock Detector
                'div[id="I7ydIAA5Mwbm2mna5DyDmrfS7A1pbw"]',
                'a[href*="blockadblock.com"]',
                'svg[id="68j9ouadxD7qvCfTkMrU7e4unwaZK4"]',
                'image[id="6xAfeQfLzpZnM13zO3XEvSZvRxfC9B"]',
                '[xlink:href="data:image/png;base64,"]',
                'script[type*="529c2608dc3eb0e3a25443cd-text/javascript"]',
                'div[id*="ju9ETOYUMclcE44a4lyCGGHF15iTQB"]',
            ];

            if (!sessionStorage.getItem("notificationShown")) {
                showNotification("Ads Blocked! ⛔ By Tijuslemon");
                sessionStorage.setItem("notificationShown", "true");
            }

            selectors.forEach((selector) => {
                const elements = document.querySelectorAll(selector);
                elements.forEach((element) => {
                    element.style.display = "none";
                    element.remove();
                });
            });
        };

        history.pushState(null, null, location.href);
        window.addEventListener("popstate", function () {
            history.pushState(null, null, location.href);
        });

        window.addEventListener("load", () => {
            // Reset status setelah refresh dan menampilkan notif setiap refresh
            // Uncomment ini jika ingin menguji ulang notifikasi setiap reload
            sessionStorage.removeItem("notificationShown");
        });

        /***
        // Pemantauan perubahan dinamis
        const observer = new MutationObserver(() => {
            blockAds();
        });

        observer.observe(document.body, {
            childList: true,
            subtree: true,
        });
        /***/

        // Jalankan setiap 0 detik
        // Ganti 0 menjadi 1000 jika terdeteksi adblok Detector
        // Jika masih terderek brati apes
        setInterval(blockAds, 0);
    }
})();