Leader_BOT

RAF

Dovrai installare un'estensione come Tampermonkey, Greasemonkey o Violentmonkey per installare questo script.

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

Dovrai installare un'estensione come Tampermonkey o Violentmonkey per installare questo script.

Dovrai installare un'estensione come Tampermonkey o Userscripts per installare questo script.

Dovrai installare un'estensione come ad esempio Tampermonkey per installare questo script.

Dovrai installare un gestore di script utente per installare questo script.

(Ho già un gestore di script utente, lasciamelo installare!)

Advertisement:

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

(Ho già un gestore di stile utente, lasciamelo installare!)

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