Stake 10 min (prevent inactive)

Claims bonus on stake every 10 minutes

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

您需要先安装一个扩展,例如 篡改猴Greasemonkey暴力猴,之后才能安装此脚本。

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

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴Userscripts ,之后才能安装此脚本。

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

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

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

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

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

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

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

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

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

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

// ==UserScript==
// @name         Stake 10 min (prevent inactive)
// @description  Claims bonus on stake every 10 minutes
// @description  open in dice in second tab and leave it openend https://stake.com/casino/games/dice 
// @author       Dauersendung
// @namespace    https://greasyfork.org/de/users/444902-dauersendung
// @version      2.0
// @match        https://stake.com
// @match        https://stake.com/?currency=btc&modal=vipReload
// @match        https://stake.com/casino/games/dice
// @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 styles__Button-fc7ea4-0 mGJpP")[0].click();
         }, random(2000,4000));

      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=btc&modal=vipReload");
      }, random(615000,620300));
     setInterval(function(){
               document.getElementsByClassName("Button__StyledButton-sc-8bd3dp-0 fbjzSA styles__Button-fc7ea4-0 mGJpP")[0].click();
       }, random(10000,15000));

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

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