Leader_BOT

RAF

K instalaci tototo skriptu si budete muset nainstalovat rozšíření jako Tampermonkey, Greasemonkey nebo Violentmonkey.

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

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Violentmonkey.

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Userscripts.

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

K instalaci tohoto skriptu si budete muset nainstalovat manažer uživatelských skriptů.

(Už mám manažer uživatelských skriptů, nechte mě ho nainstalovat!)

Advertisement:

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.

(Už mám manažer uživatelských stylů, nechte mě ho nainstalovat!)

Advertisement:

// ==UserScript==
// @name         Leader_BOT
// @namespace    http://tampermonkey.net/
// @version      0.1
// @description  RAF
// @author       raf-1994
// @match        https://wot-leader.ru/*
// @grant        none
// ==/UserScript==



(function() {
    window.onload = function(){
        var TIMERINTERVAL = 20 * 1000; // ПЕРИОД ПРОВЕРКИ НА МОНЕТКИ !!!!!!!!!!!!!!!
        var clicks = 0;
        var d1 = new Date();
        var txt = document.createElement("TEXT");
        var text1 = " | Время последнего клика:";
        var text2 = " | Сделано кликов: ";
        var text3 = "Информация о клики будет здесь";
        var text4 = " | Обновления каждые: "+TIMERINTERVAL/1000+" сек.";
        var text5 = "Время первого клика: "+ d1.getHours() +":"+ d1.getMinutes() +":" +d1.getSeconds();
        var t = document.createTextNode(text3);
        txt.id = "infoText";
        txt.appendChild(t);
        document.getElementsByClassName("header")[0].appendChild(txt);
        var timerId = setInterval(function() {
            var d = new Date();
            var elcol = document.getElementsByClassName("coin");
            for(var i = 0; i < elcol.length; i++)
            {
                clicks++;
                document.getElementById("infoText").innerText = text5+text1+" "+ d.getHours() +":"+ d.getMinutes() +":" +d.getSeconds() +text2+String(clicks)+text4;
                elcol[i].click();
            }
        }, TIMERINTERVAL);
    };
})();