Zefoy.com – Full Anti-Debug + DevTools Bypass

Clean & silent bypass for all zefoy.com protections – Google Ads 100% safe

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Greasemonkey lub Violentmonkey.

You will need to install an extension such as Tampermonkey to install this script.

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Violentmonkey.

Aby zainstalować ten skrypt, wymagana będzie instalacja rozszerzenia Tampermonkey lub Userscripts.

You will need to install an extension such as Tampermonkey to install this script.

Aby zainstalować ten skrypt, musisz zainstalować rozszerzenie menedżera skryptów użytkownika.

(Mam już menedżera skryptów użytkownika, pozwól mi to zainstalować!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Musisz zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

(Mam już menedżera stylów użytkownika, pozwól mi to zainstalować!)

// ==UserScript==
// @name         Zefoy.com – Full Anti-Debug + DevTools Bypass
// @namespace    https://greasyfork.org/users/1547272-dot-omar
// @version      2.6
// @description  Clean & silent bypass for all zefoy.com protections – Google Ads 100% safe
// @author       Catrine
// @match        https://zefoy.com/*
// @match        https://www.zefoy.com/*
// @homepageURL  https://discord.gg/tcnksFMCR9
// @supportURL   https://discord.gg/tcnksFMCR9
// @grant        none
// @run-at       document-start
// @license      MIT
// ==/UserScript==

(function () {
    'use strict';

    const SAFE = ['google.com','googlesyndication.com','doubleclick.net','gstatic.com','pagead2.googlesyndication.com'];

    delete window.performance;
    Object.defineProperty(window, 'performance', {value: void 0, configurable: false});

    const OrigImage = window.Image;
    window.Image = function () {
        const img = new OrigImage();
 Object.defineProperty(img, 'id', {get: () => 'fake-id', set: () => {}});
 return img;
    };

    const origEval = window.eval;
    window.eval = code => /debugger/.test(code) ? void 0 : origEval(code);
    Function.prototype.constructor = () => function () {};

    window.open = () => null;
    window.close = () => false;

    const origSI = setInterval;
    setInterval = (cb, delay) => typeof cb === 'function' && /debugger/.test(cb.toString()) ? 1337 : origSI(cb, delay);

    Object.defineProperty(window, 'event', {value: {isTrusted: true}, writable: false});

    const hooked = new WeakSet();
    const hook = el => {
        if (!el || hooked.has(el) || SAFE.some(d => el.src?.includes(d))) return;
        hooked.add(el);
        const oc = el.click;
        el.click = function () { return event?.isTrusted !== false ? oc?.apply(this, arguments) : false; };
        const od = el.dispatchEvent;
        el.dispatchEvent = e => e?.type === 'click' && !e.isTrusted ? false : od.apply(this, arguments);
    };

    new MutationObserver(m => m.forEach(mu => mu.addedNodes.forEach(n => {
        if (n.nodeType === 1) {
            hook(n);
            n.querySelectorAll?.('button,a,input[type="button"],input[type="submit"],[onclick]').forEach(hook);
        }
    }))).observe(document.documentElement, {childList: true, subtree: true});

    setTimeout(() => document.querySelectorAll('button,a,input[type="button"],input[type="submit"],[onclick]').forEach(hook), 1000);
})();