Cryptoearnfaucet

Free bitcoin faucet

θα χρειαστεί να εγκαταστήσετε μια επέκταση όπως το Tampermonkey, το Greasemonkey ή το Violentmonkey για να εγκαταστήσετε αυτόν τον κώδικα.

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

θα χρειαστεί να εγκαταστήσετε μια επέκταση όπως το Tampermonkey ή το Violentmonkey για να εγκαταστήσετε αυτόν τον κώδικα.

θα χρειαστεί να εγκαταστήσετε μια επέκταση όπως το Tampermonkey ή το Userscripts για να εγκαταστήσετε αυτόν τον κώδικα.

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

Θα χρειαστεί να εγκαταστήσετε μια επέκταση διαχείρισης κώδικα χρήστη για να εγκαταστήσετε αυτόν τον κώδικα.

(Έχω ήδη έναν διαχειριστή κώδικα χρήστη, επιτρέψτε μου να τον εγκαταστήσω!)

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.

(Έχω ήδη έναν διαχειριστή στυλ χρήστη, επιτρέψτε μου να τον εγκαταστήσω!)

// ==UserScript==
// @name         Cryptoearnfaucet
// @namespace    http://tampermonkey.net/
// @version      0.1
// @description  Free bitcoin faucet
// @author       vikiweb
// @match        https://cryptoearnfaucet.com/offer/*
// @icon         https://www.google.com/s2/favicons?sz=64&domain=cryptoearnfaucet.com
// @grant        none
// @license      MIT
// ==/UserScript==

(function() {
    'use strict';

    // Enter your email address on line 18 and Go to https://cryptoearnfaucet.com/offer/?r=93

    let email = ""
    let check_address = window.location.origin;

    // Check if captcha is checked
    function isCaptchaChecked() {
        return grecaptcha && grecaptcha.getResponse().length !== 0;
    }

    function visibleCheck(elm) {
        if(!elm.offsetHeight && !elm.offsetWidth) { return false; }
        if(getComputedStyle(elm).visibility === 'hidden') { return false; }
        return true;
    }


    if(window.location.href.includes(check_address) && document.querySelector("#hero h1")){
        window.location.replace(check_address +'/offer/login');
    }

    if (window.location.href.includes(check_address +'/offer/login')) {
        setInterval(function() {
            if (document.querySelector("#InputEmail")) {
                document.querySelector("#InputEmail").value = email;
            }
            if (document.querySelector("button[type='submit']")) {
                document.querySelector("button[type='submit']").click();
            }
        }, 6000);
    }

    if (window.location.href.includes(check_address +'/offer/dashboard')) {
        window.location.replace(check_address +'/offer/faucet');
    }

    if(window.location.href.includes(check_address +'/offer/faucet')){
        setInterval(function(){
            if(document.querySelector("#fauform button[type='submit']") && document.querySelector("#fauform input[type='text'].form-control.mb-3").value != ""){
                document.querySelector("#fauform button[type='submit']").click();
            }

            if(document.querySelector(".swal2-shown .swal2-popup .swal2-confirm")){
                document.querySelector(".swal2-shown .swal2-popup .swal2-confirm").click();
            }

            if(document.querySelector(".next-button .btn.btn-primary") && visibleCheck(document.querySelector(".next-button .btn.btn-primary"))){
                document.querySelector(".next-button .btn.btn-primary").click();
            }

            let string = document.querySelector("#Claim > div.text-center.mb-3 > div.row > div.text-primary.col > p:nth-child(1)");
            if(string){
                let parts = string.innerText.split("/");
                if (parts[0] === "0") {
                    console.log("The first value is 0.");
                    window.location.replace(check_address +'/offer/auto');
                } else {
                    console.log("The first value is not 0.");
                }
            }

        }, 10000)
    }

    if(window.location.href.includes(check_address +'/offer/auto')){
        setInterval(function(){
            if(document.querySelector(".swal2-shown .swal2-popup .swal2-confirm")){
                document.querySelector(".swal2-shown .swal2-popup .swal2-confirm").click();
            }
        }, 10000)
    }

})();