/ ‘grepolis.user.js’

This commit is contained in:
Jan Bader 2014-06-30 18:21:03 +02:00
parent 52a8bc1405
commit ff0b1546d2

View File

@ -10,7 +10,7 @@
// //
// @match http://*.grepolis.com/game/* // @match http://*.grepolis.com/game/*
// //
// @version 1.1.0 // @version 1.1.1
// @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==
@ -73,7 +73,7 @@
var tmout = 5000 + rand(5); var tmout = 5000 + rand(5);
setTimeout(getWaresTick(town_id, xFarmId), tmout); setTimeout(getWaresTick(town_id, xFarmId), tmout);
var tmoutId = 'farm-' + xFarmId var tmoutId = 'farm-' + xFarmId
$(town_countdown).append('<span id="' + tmoutId + '"><script>j_countdown(' + Math.floor(tmout/1000) + ', "' + tmoutId + '");</script></span>'); $(town_countdown).append('<span id="' + tmoutId + '"><script>j_countdown(' + Math.floor(tmout/1000) + ', "' + tmoutId + '");</script></span>, ');
}); });
$(town_countdown).append('<br />'); $(town_countdown).append('<br />');
} }