/ ‘grepolis.user.js’
This commit is contained in:
parent
074260dfce
commit
ad10c8c722
@ -10,7 +10,7 @@
|
|||||||
//
|
//
|
||||||
// @match http://*.grepolis.com/game/*
|
// @match http://*.grepolis.com/game/*
|
||||||
//
|
//
|
||||||
// @version 1.0.75
|
// @version 1.0.76
|
||||||
// @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==
|
||||||
|
|
||||||
@ -41,6 +41,7 @@
|
|||||||
});
|
});
|
||||||
logWindowElement.empty();
|
logWindowElement.empty();
|
||||||
|
|
||||||
|
setTimeout(function() {
|
||||||
var s = document.createElement("script");
|
var s = document.createElement("script");
|
||||||
s.type = "text/javascript";
|
s.type = "text/javascript";
|
||||||
s.innerHTML = 'function countdown(t, id){'
|
s.innerHTML = 'function countdown(t, id){'
|
||||||
@ -61,6 +62,7 @@
|
|||||||
var tmoutId = 'farm-' + xFarmId
|
var tmoutId = 'farm-' + xFarmId
|
||||||
logWindowElement.append('<span id="' + tmoutId + '">Farm ID ' + xFarmId + ': <script>countdown(' + Math.floor(tmout/1000) + ', "' + tmoutId + '");</script></span><br />');
|
logWindowElement.append('<span id="' + tmoutId + '">Farm ID ' + xFarmId + ': <script>countdown(' + Math.floor(tmout/1000) + ', "' + tmoutId + '");</script></span><br />');
|
||||||
});
|
});
|
||||||
|
}, 5000);
|
||||||
|
|
||||||
$("#ui-id-1").empty().append("<select id=choosefarmduration><option value=300>5min</option><option value=1200>20min</option><option value=5400>90min</option><option value=14400>4h</option></select>");
|
$("#ui-id-1").empty().append("<select id=choosefarmduration><option value=300>5min</option><option value=1200>20min</option><option value=5400>90min</option><option value=14400>4h</option></select>");
|
||||||
var choose = $("#choosefarmduration")[0];
|
var choose = $("#choosefarmduration")[0];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user