Stake 10 min claim vanilla

Claims bonus on stake every 10 minutes

当前为 2020-09-11 提交的版本,查看 最新版本

// ==UserScript==
// @name         Stake 10 min claim vanilla
// @description  Claims bonus on stake every 10 minutes
// @description  only works in chrome and you need this addon for chrome
// @author       Dauersendung
// @namespace    https://greasyfork.org/de/users/444902-dauersendung
// @version      1.2
// @match        https://stake.com/*
// @grant        none
// @require      http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js
// ==/UserScript==
   var count_min = 1;
window.onload = function loadpage(){
console.log(document.readyState);
      setTimeout(function(){
       document.getElementsByClassName("Button__StyledButton-sc-8bd3dp-0 fbjzSA")[0].click()
         }, random(2000,4000));

    setInterval(function(){
        console.log("Status: Elapsed time " + count_min + " minutes");
        count_min = count_min + 1;
    }, 60000);

    setTimeout(function(){
      window.location.assign("/?currency=doge&modal=vipReload");
      }, random(600000,600300));

    setInterval(function(){
               document.getElementsByClassName("Button__StyledButton-sc-8bd3dp-0 fbjzSA")[0].click()
       }, random(612000,615000));
};

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