Anti-Robot Detection Script

Bypass robot detection and appear as a human to websites.

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

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

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

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

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

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

(I already have a user script manager, let me install it!)

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.

(I already have a user style manager, let me install it!)

// ==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'));
        }
    });
})();