/ ‘grepolis.user.js’

This commit is contained in:
Jan Bader 2014-06-16 19:06:20 +02:00
parent 31b612d0e2
commit 4f714006cb

View File

@ -10,7 +10,7 @@
//
// @match http://*.grepolis.com/game/*
//
// @version 1.0.84
// @version 1.0.85
// @updateURL http://git.javil.eu/jan/userscripts/raw/master/grepolis.user.js
// ==/UserScript==
@ -50,7 +50,7 @@
s.innerHTML = 'function j_countdown(t, id){'
+'var h = Math.floor(t/(60*60)) % 24;'
+'var m = Math.floor(t/60) %60;'
+'var s = t %60;'
+'var s = Math.floor(t %60);'
+'h = (h < 10) ? "0"+h : h;m = (m < 10) ? "0"+m : m;s = (s < 10) ? "0"+s : s;'
+'var strZeit = h + ":" + m + ":" + s;'
+'durations[id]=durations[id]-1;'