FreeFaucet AutoRoll Script.FREE CRYPTO EVERY 15min!!!

AutoRoll Script autoroll and autocloseing

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Greasemonkey 油猴子Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Userscripts ,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

// ==UserScript==
// @name         FreeFaucet AutoRoll Script.FREE CRYPTO EVERY 15min!!!
// @namespace    https://greasyfork.org/en/users/1001944-faucetpay
// @version      1.01
// @description  AutoRoll Script autoroll and autocloseing
// @author       Faucetpay
// @match        https://bigbtc.win/*
// @match        https://cryptowin.io/*
// @grant        GM_setValue
// @grant        GM_getValue
// @create       23/12/2022
// ==/UserScript==


const websites = [
    "bigbtc.win",
    "cryptowin.io"
]

setTimeout( function() {
    'use strict';

    if(document.querySelector(".h-captch > ifram").getAttribute("data-hcaptcha-response").length > 0) {
        document.querySelector( ".btn-success" ).click();
        Auto();
    } else {
        setTimeout( function() {
            // auto reload page
            window.location.reload();
        }, 100000 );
    }


}, 4000 );


// Auto Page Switching
function Auto() {
    setTimeout( function() {
        var current_page_id = websites.indexOf( window.location.hostname )
        var next_page_id = ( current_page_id < websites.length - 1 ) ? current_page_id + 1 : 0;
        window.location.href = window.location.protocol + "//" + websites[ next_page_id ]
    }, 5000 );
}