sapitosucio / Pokemon-Project Anti-AdBlock Bypass

// ==UserScript==
// @name         Pokemon-Project Anti-AdBlock Bypass
// @namespace    https://violentmonkey.github.io/
// @version      1.0
// @description  Bypasses AdBlock detection on pokemon-project.com
// @author       Sapito Sucio
// @match        https://pokemon-project.com/*
// @license MIT
// @updateURL https://openuserjs.org/meta/sapitosucio/Pokemon-Project_Anti-AdBlock_Bypass.meta.js
// @downloadURL https://openuserjs.org/install/sapitosucio/Pokemon-Project_Anti-AdBlock_Bypass.user.js
// @copyright 2024, sapitosucio (https://openuserjs.org/users/sapitosucio)
// ==/UserScript==

(function() {
    'use strict';

    setInterval(function() {
        if (typeof window.check === 'function') {
            window.check = function() {
                console.log("AdBlock bypassed!");
            };
        }
    }, 1000);

    Object.defineProperty(window, 'adBlockDetected', {
        set: function(value) {},
        get: function() {
            return false;
        }
    });
})();