Count the entire time has been running, then divide it by total hashes.
var seconds = 0;
var el = document.getElementById('seconds-counter');
function incrementSeconds() {
seconds += 1;
el.innerText = "You have been here for " + seconds + " seconds.";
}
var cancel = setInterval(incrementSeconds, 1000);
But I'm starting to wonder if I made json better on the server side.
Effort per second:
https://stackoverflow.com/questions/37187504/javascript-second-counter
Count the entire time has been running, then divide it by total hashes.
But I'm starting to wonder if I made json better on the server side.