Dogefree.in Auto roll

Automatic rolls and claims

질문, 리뷰하거나, 이 스크립트를 신고하세요.
// ==UserScript==
// @name         Dogefree.in Auto roll
// @namespace
// @version      2.0
// @description  Automatic rolls and claims
// @author       Alen
// @match        https://dogefree.in/*
// @license      MIT
// @namespace
// @namespace https://greasyfork.org/users/937752
// ==/UserScript==
//Please use my Referal-Link  https://dogefree.in/?r=1338 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("dogefree.in") == -1)
return;
try_roll();
timer = setInterval(count_up, 101000); /* 1 minutes */
}
setTimeout(function(){
auto_roll();
}, 3000);
})();