Primedice 10 min (prevent inactive)

Claims bonus on stake every 10 minutes

Fra 15.09.2020. Se den seneste versjonen.

// ==UserScript==
// @name         Primedice 10 min (prevent inactive)
// @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      2.0
// @match        https://primedice.com/*
// @match        https://primedice.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 eWxKPc styles__Button-fc7ea4-0 mGJpP")[0].click();
         }, random(2000,4000));


      setTimeout(function(){
       document.getElementsByClassName("Button__StyledButton-sc-8bd3dp-0 gRHihC")[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));
     //   setTimeout(function(){
     // window.location.assign("?currency=btc&modal=vipReload");
     // }, random(615000,620300));
     setInterval(function(){
               document.getElementsByClassName("Button__StyledButton-sc-8bd3dp-0 eWxKPc styles__Button-fc7ea4-0 mGJpP")[0].click();
       }, random(10000,15000));
    setInterval(function(){
               document.getElementsByClassName("Button__StyledButton-sc-8bd3dp-0 gRHihC")[0].click()
       }, random(622000,625000));
};

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