AutoCaptcha

Auto generator for Heed.xyz

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Greasemonkey lub Violentmonkey.

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

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Violentmonkey.

Aby zainstalować ten skrypt, wymagana będzie instalacja rozszerzenia Tampermonkey lub Userscripts.

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

Aby zainstalować ten skrypt, musisz zainstalować rozszerzenie menedżera skryptów użytkownika.

(Mam już menedżera skryptów użytkownika, pozwól mi to zainstalować!)

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.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Musisz zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

(Mam już menedżera stylów użytkownika, pozwól mi to zainstalować!)

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