AutoCaptcha

Auto generator for Heed.xyz

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

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

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

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