Bnbfree Auto roll

Automatic rolls and claims

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

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

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

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

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

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

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

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

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

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

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

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

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

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

// ==UserScript==
// @name         Bnbfree Auto roll
// @namespace
// @version      3.0
// @description  Automatic rolls and claims
// @author       Alen
// @match        https://bnbfree.in/*
// @license      MIT
// @namespace https://greasyfork.org/users/937752
// ==/UserScript==
//Please use my Referal-Link  https://bnbfree.in/?r=4700 Thanks

// 點擊 "PLAY WITHOUT CAPTCHA" 按鈕
var playWithoutCaptchaButton = document.getElementById('play_without_captchas_button');
if (playWithoutCaptchaButton) {
    playWithoutCaptchaButton.style.display = 'block'; // 確保按鈕可見
    playWithoutCaptchaButton.click(); // 點擊 "PLAY WITHOUT CAPTCHA" 按鈕

    // 等待一段時間,然後執行ROLL操作
    setTimeout(function() {
        var rollButton = document.getElementById('free_play_form_button');
        if (rollButton) {
            rollButton.click(); // 點擊 "ROLL" 按鈕
        } else {
            console.error('無法找到 "ROLL" 按鈕');
        }
    }, 3000); // 等待3秒後執行ROLL操作
} else {
    console.error('無法找到 "PLAY WITHOUT CAPTCHA" 按鈕');
}


(function() {
    'use strict';

    (document).ready(function(){
        console.log("Status: Page loaded.");

        setTimeout(function(){
            ('#free_play_form_button').click();
            console.log("Status: Button ROLL clicked.");
        },2000);

    });

    function random(min,max){
        return min + (max - min) * Math.random();
    }

function auto_roll()
{
if(document.location.href.indexOf("bnbfree.in") == -1)
return;
try_roll();
timer = setInterval(count_up, 101000); /* 1 minutes */
}
setTimeout(function(){
auto_roll();
}, 3000);
})();