Freebitcoin Auto Roll and Reload Page + hCaptcha/Cloudflare Captcha Autoclick

freebitco.in auto roll and hCaptcha/cloudflare captcha auto click

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

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

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

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

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

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

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

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

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

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

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

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

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

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

// ==UserScript==
// @name         Freebitcoin Auto Roll and Reload Page + hCaptcha/Cloudflare Captcha Autoclick
// @namespace    http://tampermonkey.net/
// @version      1.0.1
// @description  freebitco.in auto roll and hCaptcha/cloudflare captcha auto click
// @author       Rafael BC
// @match        https://*.hcaptcha.com/*hcaptcha-challenge*
// @match        https://*.hcaptcha.com/*checkbox*
// @match        https://*.hcaptcha.com/*captcha*
// @match        https://freebitco.in/?op=home
// @match        https://freebitco.in/?op=home#
// @match        https://freebitco.in/
// @match        https://freebitco.in/static/html/wof/wof-premium.html
// @match        https://challenges.cloudflare.com/*
// @icon         https://static1.freebitco.in/favicon.png
// @require      http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js
// @require      https://greasyfork.org/scripts/464929-module-jquery-xiaoying/code/module_jquery_XiaoYing.js
// @require      https://greasyfork.org/scripts/464780-global-module/code/global_module.js
// @grant        none
// ==/UserScript==


// hCaptcha Auto Click
(function() {

    var CHECKBOX = "#checkbox";
    var ARIA_CHECKED = "aria-checked";

   function qSelector(selector) {
        return document.querySelector(selector);
    }

    function isHidden(el) {
        return (el.offsetParent === null)
    }

    if (window.location.href.includes("checkbox")) {
        var checkboxInterval = setInterval(function() {
            if (!qSelector(CHECKBOX)) {
            } else if (qSelector(CHECKBOX).getAttribute(ARIA_CHECKED) == "true") {
                clearInterval(checkboxInterval);
            } else if (!isHidden(qSelector(CHECKBOX)) && qSelector(CHECKBOX).getAttribute(ARIA_CHECKED) == "false") {
                qSelector(CHECKBOX).click();
            } else {
                return;
            }

        }, 60000);
    }

})();

(function() {

    'use strict';

    setInterval(function(){
        document.querySelector("#cf-stage > div.ctp-checkbox-container > label > span")?.click();
    },7000);
    setInterval(function(){
        document.querySelector("input[value='Verify you are human']")?.click();
        //document.querySelector('#challenge-stage')?.querySelector('input[type="checkbox"]')?.click();
        document.querySelector('.ctp-checkbox-label')?.click();
    },3000);

})();


// Freebitco.in Auto Roll + Force Refresh Page

//RELOAD PAGE
var timeout = setTimeout("location.reload(true);",60000); // 1 minute
      function resetTimeout() {
      clearTimeout(timeout);
      timeout = setTimeout("location.reload(true);",60000); // 1 minute
}


//AUTO ROLL
var count_min = 1;
$(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(60000,60000)); // 1 minute


        setInterval(function(){
        $('#javascript:PlayAll()').click();
        console.log("Status: Button ROLL clicked again.");
    }, random(60000,60000)); // 1 minute

});

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