iemthrowmway / Bypass

// ==UserScript==
// @name         Bypass
// @version      2.0
// @license      MIT
// @include      https://downphanmem.com/*
// @include      https://gplinks.co/*
// @include      https://dogemate.com/*
// @include      https://www.adz7short.space/*
// @include      https://short.cliquebook.net/*
// @include      https://short.croclix.me/*
// @include      https://short.goldenfaucet.io/*
// @include      https://ouo.io/*
// @include      https://ouo.press/*
// @require      https://code.jquery.com/jquery-3.3.1.min.js
// @run-at       document-end
// @grant        none
// ==/UserScript==

var $ = window.jQuery;
(function () {
  "use strict";
  if (document.getElementsByClassName("captcha") !== null) {
    var a = function () {
      if (grecaptcha != null && grecaptcha.getResponse(0) !== "") {
        $("[name=verify]").attr('onclick', '');
        $("[name=verify]").click();
        clearInterval(b);
      }
    };
    var b = setInterval(a, 500);
    var c = function () {
      if ($("button:contains('Verify')").length > 0) {
        $("button.btn.btn-primary").attr('onclick', '');
        $("button.btn.btn-primary").click();
        clearInterval(c);
      }
    };
    var d = setInterval(c, 500);
    var e = function () {
      if ($("#bdt").length > 0) {
        $("#bdt").click();
        clearInterval(e);
      }
    };

    function fireMouseEvents(query, eventNames) {
      var element = document.querySelector(query);
      if (element && eventNames && eventNames.length) {
        for (var index in eventNames) {
          var eventName = eventNames[index];
          if (element.fireEvent) {
            element.fireEvent('on' + eventName);
          }
          else {
            var eventObject = document.createEvent('MouseEvents');
            eventObject.initEvent(eventName, true, false);
            element.dispatchEvent(eventObject);
          }
        }
      }
    }
    var g = function () {
      if ($("#link").length > 0) {
        fireMouseEvents("#link", ['mouseover', 'mousedown', 'mouseup', 'click']);
      }
    };
    var r = setInterval(g, 500);
    var w = function () {
      if ($("#continue").length > 0) {
        fireMouseEvents("#continue", ['mouseover', 'mousedown', 'mouseup', 'click']);
      }
    };
    var h = setTimeout(w, 12000);
    var y = function () {
      if ($("#btn-main").length > 0) {
        fireMouseEvents("#btn-main", ['mouseover', 'mousedown', 'mouseup', 'click']);
      }
    };
    var k = setTimeout(y, 6000);
  }
})();