[Final] Freebitco.in

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

// ==UserScript==
// @name         [Final] Freebitco.in
// @namespace    https://greasyfork.org/users/1162863
// @version      2.7
// @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
// @grant        window.close
// @antifeature  referal-link     Referal-Link is in this Script integrated and in the description. (No win decrease for you, it's a thank you to me for the share)
// @license      Copyright Andrewblood
// ==/UserScript==
/*

Profit: 2$/Month

For full automation you need the extension "hektCaptcha" and theese scripts: https://greasyfork.org/de/scripts?set=588971

Open the Faucet every hour + (daily WoF when you become WoF from FUN-holding or Reward exchange), 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://greasyfork.org/users/1162863 or
Register your Faucetpay Account over https://faucetpay.io/?r=script

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

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

    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("https://freebitco.in/signup/?op=s")) {
            if(window.location.href != ("https://freebitco.in/signup/?op=s&r=3595810")) {
                window.location.replace("https://freebitco.in/signup/?op=s&r=3595810");
            }
        }

        if(window.location.href.includes("https://freebitco.in/?op=home")) {
            if (document.querySelector("#free_play_form_button").style.display == "none"){
                console.log("Wait for next Roll.");
                setTimeout(function() {
                    window.close();
                }, 1000*10);
            }
            else
            {
                console.log("Let's look for 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 = parseFloat(document.querySelector("#rewards_tab > div:nth-child(2) > div > div.reward_table_box.br_0_0_5_5.user_reward_points.font_bold").innerText.replace(/,/, ''))
                    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*5);

                // Make the Roll
                setTimeout(function() {
                    if (document.querySelector("#anchor")){
                        console.log("Wait for Captcha and.....");

                        if (isCaptchaChecked()) {
                            document.querySelector("#free_play_form_button").click();
                            setTimeout(function() {
                                window.close();
                            }, 1000*10);
                        }
                    }
                    else
                    {
                        document.querySelector("#free_play_form_button").click();
                        setTimeout(function() {
                            window.close();
                        }, 1000*10);
                    }
                }, 1000*10);
            }
        }

        if (window.location.href.includes("https://freebitco.in/static/html/wof/wof-premium.html")) {
            if (document.querySelector("#token_count").innerText > 0){
                console.log("You can Roll")
                document.querySelector("#wofc-section > div > div.wofc-spins > p > button:nth-child(2)").click();
                setTimeout(function() {
                    window.close();
                }, 1000*10);
            }
            else
            {
                console.log("Wait for new WoF.")
                setTimeout(function() {
                    window.close();
                }, 1000*10);
            }
        }

    })
})();