Greasy Fork

Greasy Fork is available in English.

Freebitco.in [Auto Faucet]

Made in Trinidad https://freebitco.in/?r=9102100

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

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

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

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

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

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

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

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

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

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

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

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

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

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

// ==UserScript==
// @name         Freebitco.in [Auto Faucet]
// @namespace    free.bitcoin.auto.faucet
// @version      0.1
// @description  Made in Trinidad https://freebitco.in/?r=9102100
// @author       stealtosvra
// @match        https://freebitco.in/*
// @icon         https://www.google.com/s2/favicons?sz=64&domain=controlc.com
// @grant        none
// ==/UserScript==

(function() {
    'use strict';

    function hCaptcha() {return window.grecaptcha && window.grecaptcha.getResponse().length !== 0;}
    function checkAndClickRollButton() {
        if (hCaptcha()) {var rollButton = document.getElementById('free_play_form_button');
            if (!rollButton) {rollButton = document.querySelector('.free_play_element.new_button_style.profile_page_button_style');}
            if (rollButton) {rollButton.click();} else {console.error('Unable to find the "ROLL!" button');}}}

    setInterval(checkAndClickRollButton, 10000);

    var countdownTimer = 300; // seconds
    var countdownInterval = setInterval(function() {
        countdownTimer--;

        if (countdownTimer <= 0) {
            redirectToWebsite();
            clearInterval(countdownInterval);
        }
    }, 1000);

    function redirectToWebsite() {window.location.href = 'https://freebitco.in';}

})();