Greasy Fork

Freebitcoin Auto Roll

Hourly Auto Roll Simple Script For Idle PC to Gain Max Profit From Freebitcoin Faucet

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

// ==UserScript==
// @name         Freebitcoin Auto Roll
// @description  Hourly Auto Roll Simple Script For Idle PC to Gain Max Profit From Freebitcoin Faucet
// @version      1.2
// @author       Leann NoobersTube
// @match        https://freebitco.in/*
// @namespace    https://greasyfork.org/en/users/1249104
// @homepage     https://bit.ly/NoobersTube
// @homepageURL  https://freebitco.in/?r=4233839
// @copyright    NoobersTube - 2024
// @require      http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js
// @license      GPL-3.0
// ==/UserScript==

/*
If you like this script, please consider using it with my Referral Link: https://freebitco.in/?r=4233839
Simply, register under my Referral Link https://freebitco.in/?r=4233839 to show your gratitude
If you want, you can also consider to send some satoshi at this address 18VTbqN14ZFprCakpUgvC1VjLtZUTqSXsi
This will help a lot for the development and future free updates of the script
Thank you very much
*/

/*
This script will allow you to automatically roll your bitcoin every hour
It will also automatically refresh the page and keep rolling in some time interval if missed, so the script is always running
You will be able to gain max claim with this script without playing Multiply
This script also automatically activate your FUN and WOF Bonus based of RP you have
Keep your Freebitcoin Tab open and this script will automatically running all the time
It works perfectly for idle PC and will give you max profit
Thanks for using this script
*/


(function() {
    'use strict';
var body = $('body');
var points = {};
var count_min = 1;
var reward = {};
    reward.select = function() {
        reward.points = parseInt($('.user_reward_points').text().replace(',',""));
        reward.bonustime = {};
        if ($("#bonus_container_free_points").length != 0) {
            reward.bonustime.text = $('#bonus_span_free_points').text();
            reward.bonustime.hour = parseInt(reward.bonustime.text.split(":")[0]);
            reward.bonustime.min = parseInt(reward.bonustime.text.split(":")[1]);
            reward.bonustime.sec = parseInt(reward.bonustime.text.split(":")[2]);
            reward.bonustime.current = reward.bonustime.hour * 3600 + reward.bonustime.min * 60 + reward.bonustime.sec;
        } else
            reward.bonustime.current = 0;
        console.log(reward.bonustime.current);
        if (reward.bonustime.current !== 0) {
            console.log(reward.bonustime.current);
        } else {
            if (reward.points < 1500) {
                console.log("waiting for points");
            }
            else if (reward.points < 2500) {
                    console.log("waiting for points 3000");
                    RedeemRPProduct('fun_token_2');
                }
            else if (reward.points < 3000) {
                    console.log("waiting for points 3500");
                    RedeemRPProduct('fun_token_3');
                }
            else if (reward.points < 3500) {
                    console.log("waiting for points 4000");
                    RedeemRPProduct('fun_token_4');
                }
            else {
                RedeemRPProduct('fun_token_5');
            }
            if ($('#bonus_span_fp_bonus').length === 0)
                if (reward.points >= 10000)
                    RedeemRPProduct('fp_bonus_1000');
        }
    };
    body.prepend(
        $('<div/>').attr('style',"position:fixed;top:45px;left:0;z-index:999;width:350px;background-color:black;color: white; text-align: left;")
            .append(
                $('<div/>').attr('id','autofaucet')
                    .append($('<p/>').attr('style','text-decoration:underline;').text("Freebitcoin Auto Roll"))
                    .append($('<p/>').text("Hourly Auto Roll Simple Script For Idle PC to Gain Max Profit From Freebitcoin Faucet"))
                    .append($('<p/>').text("18VTbqN14ZFprCakpUgvC1VjLtZUTqSXsi"))
                    .append($('<p/>').text("(Click to copy and donate some satoshi for me!)"))
                    .append($('<p/>')
                    )
            ).click(function(){
            var $temp = $('<input>').val("18VTbqN14ZFprCakpUgvC1VjLtZUTqSXsi");
            body.append($temp);
            $temp.select();
            document.execCommand("copy");
            $temp.remove();
        })
    ).prepend($('<style/>')
        .text("#autofaucet p { margin: 0; margin-left: 2px;  text-align: left; }")
)
    setTimeout(reward.select,1000);
    setInterval(reward.select,60000);
$(document).ready(function(){
    console.log("Status: Page loaded.");
    setTimeout(function(){
        $('#free_play_form_button').click();
        console.log("Status: Button ROLL clicked.");
    }, random(2000,4000));
    setInterval(function(){
        console.log("Status: Elapsed time " + count_min + " minutes");
        count_min = count_min + 1;
    }, 60000);
    setTimeout(function(){
        $('.close-reveal-modal')[0].click();
        console.log("Status: Button CLOSE POPUP clicked.");
    }, random(12000,18000));
    setInterval(function(){
        $('#free_play_form_button').click();
        console.log("Status: Button ROLL clicked again.");
    }, random(3605000,3615000));
});
function random(min,max){
   return min + (max - min) * Math.random();
}
})();