/ ‘grepolis.user.js’

This commit is contained in:
Jan Bader 2014-06-30 18:19:40 +02:00
parent 7940465a6b
commit 7ed8495096

View File

@ -10,7 +10,7 @@
// //
// @match http://*.grepolis.com/game/* // @match http://*.grepolis.com/game/*
// //
// @version 1.0.98 // @version 1.0.99
// @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,8 +73,9 @@
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><br />'); $(town_countdown).append('<span id="' + tmoutId + '"><script>j_countdown(' + Math.floor(tmout/1000) + ', "' + tmoutId + '");</script></span>');
}); });
$(town_countdown).append('<br />');
} }