Anti-Robot Detection Script

Bypass robot detection and appear as a human to websites.

θα χρειαστεί να εγκαταστήσετε μια επέκταση όπως το Tampermonkey, το Greasemonkey ή το Violentmonkey για να εγκαταστήσετε αυτόν τον κώδικα.

θα χρειαστεί να εγκαταστήσετε μια επέκταση όπως το Tampermonkey ή το Violentmonkey για να εγκαταστήσετε αυτόν τον κώδικα.

θα χρειαστεί να εγκαταστήσετε μια επέκταση όπως το Tampermonkey ή το Violentmonkey για να εγκαταστήσετε αυτόν τον κώδικα.

θα χρειαστεί να εγκαταστήσετε μια επέκταση όπως το Tampermonkey ή το Userscripts για να εγκαταστήσετε αυτόν τον κώδικα.

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

Θα χρειαστεί να εγκαταστήσετε μια επέκταση διαχείρισης κώδικα χρήστη για να εγκαταστήσετε αυτόν τον κώδικα.

(Έχω ήδη έναν διαχειριστή κώδικα χρήστη, επιτρέψτε μου να τον εγκαταστήσω!)

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.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(Έχω ήδη έναν διαχειριστή στυλ χρήστη, επιτρέψτε μου να τον εγκαταστήσω!)

// ==UserScript==
// @name         Anti-Robot Detection Script
// @namespace    http://tampermonkey.net/
// @version      3
// @description  Bypass robot detection and appear as a human to websites.
// @author       Wrldz
// @license      MIT
// @match        *://*/*
// @grant        none
// ==/UserScript==

(function() {
    'use strict';

    var isScriptEnabled = true;

    // Check for anti-robot detection mechanisms
    var antiRobotElements = document.querySelectorAll("[id*='captcha'],[class*='captcha'],[name*='captcha'],[id*='recaptcha'],[class*='recaptcha'],[name*='recaptcha']");
    var antiRobotDetected = antiRobotElements.length > 0;

    // Random mouse movements
    var simulateMouseMovement = function() {
        var dx = Math.floor(Math.random() * 6) - 3;
        var dy = Math.floor(Math.random() * 6) - 3;
        var event = new MouseEvent('mousemove', {
            view: window,
            bubbles: false,
            cancelable: true,
            clientX: window.innerWidth/2 + dx,
            clientY: window.innerHeight/2 + dy
        });
        window.dispatchEvent(event);
    };

    // Random typing delays
    var simulateTypingDelay = function() {
        var delay = Math.floor(Math.random() * 1000) + 500;
        return delay;
    };

    // Simulate human behavior
    var simulateHumanBehavior = function() {
        simulateMouseMovement();
        var delay = simulateTypingDelay();
        return delay;
    };

    var originalSetTimeout = window.setTimeout;
    window.setTimeout = function(callback, delay) {
        if (!isScriptEnabled || antiRobotDetected) {
            return originalSetTimeout.apply(this, arguments);
        }

        var newCallback = function() {
            var result = callback.apply(this, arguments);
            if(typeof result === 'boolean'){
                return result || simulateHumanBehavior(); // Return original result or simulate human behavior
            }else{
                return result;
            }
        };
        return originalSetTimeout.call(this, newCallback, delay);
    };

    var originalSetInterval = window.setInterval;
    window.setInterval = function(callback, delay) {
        if (!isScriptEnabled || antiRobotDetected) {
            return originalSetInterval.apply(this, arguments);
        }

        var newCallback = function() {
            var result = callback.apply(this, arguments);
            if(typeof result === 'boolean'){
                return result || simulateHumanBehavior(); // Return original result or simulate human behavior
            }else{
                return result;
            }
        };
        return originalSetInterval.call(this, newCallback, delay);
    };

    // Allow the user to toggle the script on and off
    document.addEventListener('keydown', function(event) {
        if (event.code === 'KeyR' && event.ctrlKey && event.altKey) { // Ctrl + Alt + R to toggle the script
            isScriptEnabled = !isScriptEnabled;
            console.log('Anti-Robot Detection Script ' + (isScriptEnabled ? 'enabled' : 'disabled'));
        }
    });
})();