/ ‘grepolis.user.js’

This commit is contained in:
Jan Bader 2014-06-30 18:30:11 +02:00
parent 1868933c95
commit 182858b3a6

View File

@ -10,7 +10,7 @@
// //
// @match http://*.grepolis.com/game/* // @match http://*.grepolis.com/game/*
// //
// @version 1.1.3 // @version 1.1.4
// @updateURL http://git.javil.eu/jan/userscripts/raw/master/grepolis.user.js // @updateURL http://git.javil.eu/jan/userscripts/raw/master/grepolis.user.js
// ==/UserScript== // ==/UserScript==
@ -57,7 +57,6 @@
+'var h = Math.floor(t/(60*60));' +'var h = Math.floor(t/(60*60));'
+'var m = Math.floor(t/60) %60;' +'var m = Math.floor(t/60) %60;'
+'var s = Math.floor(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 = "";' +'var strZeit = "";'
+'if(h>0) strZeit = strZeit + h + ":";' +'if(h>0) strZeit = strZeit + h + ":";'
+'strZeit = strZeit + m + ":" + s;' +'strZeit = strZeit + m + ":" + s;'