Auto Reload on Stake.com - LATEST UPDATE 2024 WORKS FOREVER

Automatic reloads every 10 minutes or less. updated for latest Stake website. Will work forever!

Bu betiği kurabilmeniz için Tampermonkey, Greasemonkey ya da Violentmonkey gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

Bu betiği kurabilmeniz için Tampermonkey ya da Violentmonkey gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

Bu betiği kurabilmeniz için Tampermonkey ya da Violentmonkey gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

Bu betiği kurabilmeniz için Tampermonkey ya da Userscripts gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

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

Bu komut dosyasını yüklemek için bir kullanıcı komut dosyası yöneticisi uzantısı yüklemeniz gerekecek.

(Zaten bir kullanıcı komut dosyası yöneticim var, kurmama izin verin!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(Zateb bir user-style yöneticim var, yükleyeyim!)

// ==UserScript==
// @name         Auto Reload on Stake.com - LATEST UPDATE 2024 WORKS FOREVER
// @description  Automatic reloads every 10 minutes or less. updated for latest Stake website. Will work forever!
// @author       PassoLargoBR
// @version      2024.03.21
// @match        https://stake.com/*
// @match        https://stake.com/casino/home?tab=reload&modal=vip&currency=*
// @match        https://stake.com/?tab=reload&modal=vip&currency=*
// @run-at       document-idle
// @namespace https://greasyfork.org/users/824858
// ==/UserScript==

var currency = 'trx'; //currency to claim
currency = currency.toLowerCase();

setInterval(function() {
  window.location.replace("https://stake.com/?tab=reload&modal=vip&currency="+currency+"");
}, 60*1000); // 60 sec.

setInterval(function() {
  simulateMouseMove();
  document.querySelectorAll("button[type='submit']")[0].click();
}, 10*1000); // 10 sec.

function simulateMouseMove() {
    const simElm = window.document.documentElement;
    const simMouseMove = new Event('mousemove');
    simElm.dispatchEvent(simMouseMove);
}