/ ‘grepolis.user.js’

This commit is contained in:
Jan Bader 2014-06-15 00:51:33 +02:00
parent fb6cb152f4
commit 0632ba39cb

View File

@ -10,7 +10,7 @@
//
// @match http://*.grepolis.com/game/*
//
// @version 1.0.71
// @version 1.0.72
// @updateURL http://git.javil.eu/jan/userscripts/raw/master/grepolis.user.js
// ==/UserScript==
@ -43,8 +43,8 @@
var s = document.createElement("script");
s.type = "text/javascript";
s.innerHTML = 'function countdown(time, id){'
+'t = time;'
s.innerHTML = 'function countdown(t, id){'
+'log(""+t);'
+'h = Math.floor(t/(60*60)) % 24;'
+'m = Math.floor(t/60) %60;'
+'s = t %60;'