[Beta] Freebitco.in

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

// ==UserScript==
// @name         [Beta] Freebitco.in
// @namespace    https://greasyfork.org/users/1162863
// @version      1.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
// @license      Copyright Andrewblood
// ==/UserScript==
/*

Profit: 2$/Month

When you want to Support me for the work. Then Register over:
https://freebitco.in/?r=3595810

For full automation you need the extension "hektCaptcha".

Open https://freebitco.in/?r=3595810 + WoF and see how your BTC increases... ;)

*/
(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("home")) {
            if (document.querySelector("#myModal22 > a")) {
                document.querySelector("#myModal22 > a").click()
            }
            if(document.querySelector("#wait").style.display == "none") {

                /*
                document.querySelector("#drop1 > li:nth-child(4) > a").click()
                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
                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(/,/, ''))
                    if (yourrwp > bonuscost){
                        document.querySelector("#fp_bonus_rewards > div:nth-child(2) > div:nth-child(2) > div:nth-child(3) > button").click();
                    }
                document.querySelector("#drop1 > li:nth-child(1) > a").click()
                */

                if (document.querySelector("hcaptcha")){
                    function isCaptchaChecked() {
                        return hcaptcha && hcaptcha.getResponse().length !== 0;
                    }
                    setInterval(function(){
                        if (isCaptchaChecked()) {
                            document.querySelector("#free_play_form_button").click();
                        }
                    }, 5000)
                }
                else
                {
                    document.querySelector("#free_play_form_button").click();
                }
            }
            else
            {
                console.log("Wait for next Roll.")
            }
        }

        if (window.location.href.includes("wof")) {
            let buttons = document.querySelectorAll(".play-but");
            let playAllButton = Array.from(buttons).find(button => button.textContent.trim() === "PLAY ALL");

            if (playAllButton) {
                let clickEvent = document.createEvent('MouseEvents');
                clickEvent.initEvent('click', true, true);
                playAllButton.dispatchEvent(clickEvent);
            }
            setTimeout(function() {
                document.location.reload();
            }, 1000*60*60*6);
        }

    })

})();