AutoCaptcha

Auto generator for Heed.xyz

K instalaci tototo skriptu si budete muset nainstalovat rozšíření jako Tampermonkey, Greasemonkey nebo Violentmonkey.

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

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Violentmonkey.

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Userscripts.

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

K instalaci tohoto skriptu si budete muset nainstalovat manažer uživatelských skriptů.

(Už mám manažer uživatelských skriptů, nechte mě ho nainstalovat!)

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.

(Už mám manažer uživatelských stylů, nechte mě ho nainstalovat!)

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