/ ‘grepolis.user.js’
This commit is contained in:
parent
78ddd99077
commit
0d8de37d8d
@ -10,7 +10,7 @@
|
|||||||
//
|
//
|
||||||
// @match http://*.grepolis.com/game/*
|
// @match http://*.grepolis.com/game/*
|
||||||
//
|
//
|
||||||
// @version 1.0.77
|
// @version 1.0.78
|
||||||
// @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==
|
||||||
|
|
||||||
@ -60,7 +60,7 @@
|
|||||||
var tmout = 5000 + rand(5);
|
var tmout = 5000 + rand(5);
|
||||||
setTimeout(getWaresTick(xFarmId), tmout);
|
setTimeout(getWaresTick(xFarmId), tmout);
|
||||||
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('Farm ID ' + xFarmId + ': <span id="' + tmoutId + '"><script>countdown(' + Math.floor(tmout/1000) + ', "' + tmoutId + '");</script></span><br />');
|
||||||
});
|
});
|
||||||
|
|
||||||
$("#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>");
|
||||||
@ -69,7 +69,7 @@
|
|||||||
farmDuration = this.value;
|
farmDuration = this.value;
|
||||||
log("Duration changed to: " + farmDuration);
|
log("Duration changed to: " + farmDuration);
|
||||||
}
|
}
|
||||||
}, 5000);
|
}, 15000);
|
||||||
|
|
||||||
function log(xText) {
|
function log(xText) {
|
||||||
var date = new Date(); // Timestamp to prepend
|
var date = new Date(); // Timestamp to prepend
|
||||||
|
Loading…
x
Reference in New Issue
Block a user