Created
February 17, 2012 13:37
-
-
Save eiszfuchs/1853482 to your computer and use it in GitHub Desktop.
#mojam
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var pre_forecast=0;window.setInterval(function(){var now=new Date();var h=now.getHours();var m=now.getMinutes();while(String(h).length<2){h='0'+h;}while(String(m).length<2){m='0'+m;}var forecast=Math.round(parseFloat($(".totalcontributed").text().replace(",",""))/(60-(new Date(timing.end*1000)-now)/1000/60/60)*60*100)/100;console.info(h+':'+m,forecast,((forecast-pre_forecast>0)?'+':'')+Math.round(forecast-pre_forecast));pre_forecast=forecast;},1000*60); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment