[Final] Freebitco.in

Automatic claim BTC/WoF + select 1000% BTC-Bonus

目前為 2023-10-24 提交的版本,檢視 最新版本

// ==UserScript==
// @name         [Final] Freebitco.in
// @namespace    https://gf.qytechs.cn/users/1162863
// @version      2.3.1
// @description  Automatic claim BTC/WoF + select 1000% BTC-Bonus
// @author       Andrewblood
// @match        https://freebitco.in/*
// @icon         https://www.google.com/s2/favicons?sz=64&domain=freebitco.in
// @license      Copyright Andrewblood
// ==/UserScript==
/*

Profit: 2$/Month

For full automation you need the extension "hektCaptcha".

Open the Faucet + (WoF when you become daily WoF from FUN-holding), let it open and see how your BTC increases... ;)

When you want to Support me for the work. Then take a look on my other scripts on https://gf.qytechs.cn/users/1162863

*/
(function() {
    'use strict';

    function docReady(fn) {
        if (document.readyState === "complete" || document.readyState === "interactive") {
            setTimeout(fn, 1);
        } else {
            document.addEventListener("DOMContentLoaded", fn);
        }
    }

    docReady(function() {

        if(window.location.href.includes("signup")) {
            document.querySelector("#referrer_in_form").value = "3595810"
        }

        if(window.location.href.includes("home")) {
            setTimeout(function() {
                setInterval(function(){

                    // Wait on timer
                    if (document.querySelector("#free_play_form_button").style.display == "none"){
                        console.log("Wait for next Roll.");
                    }

                    // Ready to Roll
                    if (document.querySelector("#free_play_form_button").style.display != "none"){
                        console.log("Let's Roll.");

                        // Check for the 1000% BTC-Bonus
                        document.querySelector("body > div.large-12.fixed > div > nav > section > ul > li:nth-child(8) > a").click();
                        document.querySelector("#rewards_tab > div.row.reward_category_container_main_div > div > div:nth-child(4) > div.reward_category_name").click();
                        setTimeout(function() {
                            var yourrwp = document.querySelector("#rewards_tab > div:nth-child(2) > div > div.reward_table_box.br_0_0_5_5.user_reward_points.font_bold").innerText
                            console.log("Your current Reward Points are:");
                            console.log(yourrwp);
                            var bonuscost = parseFloat(document.querySelector("#fp_bonus_rewards > div:nth-child(2) > div:nth-child(2) > div.large-6.small-12.columns > div").innerText.replace(/,/, ''))
                            console.log("The Price for 1000% BTC-Bonus is:");
                            console.log(bonuscost);
                            if (yourrwp > bonuscost){
                                document.querySelector("#fp_bonus_rewards > div:nth-child(2) > div:nth-child(2) > div:nth-child(3) > button").click();
                            }
                            else
                            {
                                console.log("Your balance is too low to buy.");
                            }
                            document.querySelector("#free_play_link_li > a").click();
                        }, 1000*10);

                        // Make the Roll
                        setTimeout(function() {
                            if (document.getElementsByClassName("h-captcha")){
                                console.log("Wait for Captcha and.....");
                                function isCaptchaChecked() {
                                    return hcaptcha && hcaptcha.getResponse().length !== 0;
                                }
                                if (isCaptchaChecked()) {
                                    document.querySelector("#free_play_form_button").click();
                                    console.log(document.querySelector("#free_play_result").innerText)
                                }
                            }
                            else
                            {
                                document.querySelector("#free_play_form_button").click();
                                console.log(document.querySelector("#free_play_result").innerText)
                            }
                        }, 1000*15);
                    }

                    // Skip the Multiply BTC Notification
                    if (document.querySelector("#myModal22 > a")) {
                        document.querySelector("#myModal22 > a").click();
                    }

                    // timeout correction
                    if (document.querySelector("#time_remaining > span > span:nth-child(1) > span").innerText == 0 && document.querySelector("#time_remaining > span > span:nth-child(2) > span").innerText == 0){
                        location.reload();
                    }
                }, 1000*30);
            }, 1000*5);
        }

        if (window.location.href.includes("wof")) {
            setTimeout(function() {
                document.location.reload();
            }, 1000*60*60*2);
            if (document.querySelector("#token_count").innerText > 0){
                document.querySelector("#wofc-section > div > div.wofc-spins > p > button:nth-child(2)").click();
            }
        }

    })

})();

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址