Leader_BOT

RAF

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

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

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

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

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

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

(I already have a user script manager, let me install it!)

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.

(I already have a user style manager, let me install it!)

// ==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);
    };
})();