AutoCaptcha

Auto generator for Heed.xyz

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 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         AutoCaptcha
// @version      2.7
// @description  Auto generator for Heed.xyz
// @match        https://heedmoney.xyz/*
// @grant        GM_xmlhttpRequest
// @grant        GM_addStyle
// @require http://code.jquery.com/jquery-latest.js
// @run-at       document-body
// @namespace https://greasyfork.org/users/422116
// ==/UserScript==


window.addEventListener("DOMContentLoaded", function() {

    var element = document.querySelector("#main > form");

    var a = document.querySelector("#cimg1 > img").src;
    var b = document.querySelector("#cimg2 > img").src;
    var c = document.querySelector("#cimg3 > img").src;

    var a1 = String(a).slice(36,37);
    var b1 = String(b).slice(36,37);
    var c1 = String(c).slice(36,37);

    var input = String(a1+b1+c1);
        document.querySelector("#main > form > div:nth-child(3) > input[type=text]").value = input;

    var but = document.querySelector("#main > form > div:nth-child(6) > input[type=button]");
        but.addEventListener ("click", function() {
           document.querySelector("#main > form > div:nth-child(3) > input[type=text]").value = input;
                window.location.reload();
    });

    but.click();
}, false);