NOTICE: By continued use of this site you understand and agree to the binding Terms of Service and Privacy Policy.
// ==UserScript== // @name speedEobot // @namespace freedogecoinsafe // @description This script calculate mining speed current cryptocurrency in Eobot // @copyright 2015, Lukavsky Michail (https://vk.com/lukavskym) // @author LukavskyM // @include https://www.eobot.com/account // @include https://www.eobot.com/convert // @include https://www.eobot.com/deposit // @include https://www.eobot.com/withdraw // @supportURL mailto:demol.cv@gmail.com // @version 1 // @grant none // ==/UserScript== var d1=document.createElement('div'); d1.id = "balancespeed"; document.getElementById("documentBalance3").parentElement.appendChild(d1); var timeNow = new Date(); var balance = document.getElementById("documentBalance3").innerHTML; var balanceBuffer = 0; function getnewTime() { timeNow = new Date(); var balance = document.getElementById("documentBalance3").innerHTML; } function calculate() { var timeNew = new Date(); if ((timeNew - timeNow) > 1000 ) { document.getElementById("balancespeed").innerHTML = (timeNew - timeNow)/1000; } } document.getElementById("documentBalance3").addEventListener("DOMSubtreeModified", function() { var timeNew = new Date(); balanceBuffer = document.getElementById("documentBalance3").innerHTML; if ((timeNew - timeNow) > 1000 ) { var bal = balanceBuffer - balance; var bal1 = bal*60; var bal2 = bal*60*60; var bal3 = bal*60*60*24; document.getElementById("balancespeed").innerHTML = "Speed:<br>" + bal.toFixed(8) + " c/sec<br>"+ bal1.toFixed(8) + " c/min<br>"+bal2.toFixed(8) + " c/h<br>" + bal3.toFixed(8) + " c/d"; timeNow = Date(); } });