Greasy Fork

Unlimited Bitcoin via bigfaucet.co

Unlimited Bitcoin via bigfaucet.co.

目前为 2023-01-01 提交的版本。查看 最新版本

// ==UserScript==
// @name            Unlimited Bitcoin via bigfaucet.co
// @namespace       http://tampermonkey.net/
// @version         1.2
// @description     Unlimited Bitcoin via bigfaucet.co.
// @author          vikiweb
// @match           https://bigfaucet.co/*
// @grant           none
// @license MIT
// ==/UserScript==


(function() {
    'use strict';

    var bitcoin = "16Lfq4QC9Lgbse4oggWUVAe1e6Rv7o6ELn"; //replace this address

    setInterval(function() {
          console.log('interval')
        if (document.querySelector("body div.container div.col-md-6 div.well.content form div.form-group center input.form-control")) {
            document.querySelector("body div.container div.col-md-6 div.well.content form div.form-group center input.form-control").value = bitcoin;
            setTimeout(function(){
                document.querySelector("body div.container div.col-md-6 div.well.content form button.btn.btn-primary").click();
            },2000)
        }

        if ((document.querySelector("body div.container div.col-md-6 div.well.content form button.btn.btn-success.btn-lg")) &&
            (window.location.href.includes("https://bigfaucet.co/index.php"))) {
            document.querySelector("body div.container div.col-md-6 div.well.content form button.btn.btn-success.btn-lg").click();
        }

        setTimeout(function() {
            function isCaptchaChecked() {
                return grecaptcha && grecaptcha.getResponse().length !== 0;
            }

            if (isCaptchaChecked()) {
                document.querySelector("body div.container div.col-md-6 div.well.content form button.btn.btn-success").click();
            }else{
                console.log('Not checked')
            }

        }, 1000);

        if ((document.querySelector("body div.container div.col-md-6 div.well.content div.alert.alert-warning"))){
            if (document.querySelector("body div.container div.col-md-6 div.well.content div.alert.alert-warning").innerText.includes("You have already claimed")){
                window.location.replace('https://bigfaucet.co/index.php');
            }
        }

        if ((document.querySelector("body div.container div.col-md-6 div.well.content div.alert.alert-danger"))){
            if (document.querySelector("body div.container div.col-md-6 div.well.content div.alert.alert-danger").innerText.includes("Someone else claimed")){
                window.location.replace('https://bigfaucet.co/index.php');
            }
        }

        if((document.querySelectorAll("body div.container div.col-md-6 div.well.content div.alert.alert-success")[1])){
            if( (document.querySelectorAll("body div.container div.col-md-6 div.well.content div.alert.alert-success")[1].innerText.includes("You've claimed successfully"))) {
                window.location.replace('https://bigfaucet.co/index.php');
            }
        }

    }, 15000);



})();