Lootbits.io

automate the lootbit site

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

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

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

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

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

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

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

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

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

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

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

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

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

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

// ==UserScript==
// @name         Lootbits.io
// @namespace    http://tampermonkey.net/
// @version      0.2
// @description  automate the lootbit site
// @author       Bboy Tech
// @match        https://lootbits.io/dashboard.php*
// @grant        none
// ==/UserScript==

(function() {
    this.$ = this.jQuery = jQuery.noConflict(true);
    var claimTimer = setInterval (function() {claim(); }, Math.floor(Math.random() * 1000) + 2000);
    function claim(){
        var number=document.getElementById("lootbits").innerHTML;
        var numdown=document.getElementById("countdown_time").innerHTML;
        if (numdown === "00:01")
        {
            location.href = "https://lootbits.io/dashboard.php";
        }
        else
        {
            if (number > 0)
            {
                $( ".confirm" ).click();
                $( ".lootbox" ).click();
            }
            else
            {
                //do nothing
            }
        }
        if (numdown === "00:00")
        {
            var href = $('#claimbtn').attr('href');
            var newhref = "https://lootbits.io/dashboard.php"+href
            location.href = newhref;
        }
        else
        {
                //do nothing
        }
        $( "#id3a8b998253cross3a8b998253" ).click();
    }
    document.getElementById("lootboxout").click;
    if(location.href == "https://lootbits.io/dashboard.phpundefined")
        {
            location.href = "https://lootbits.io/dashboard.php";
        }
})();