/ ‘grepolis.user.js’
This commit is contained in:
parent
b153b30503
commit
18ec14f426
@ -10,7 +10,7 @@
|
|||||||
//
|
//
|
||||||
// @match http://*.grepolis.com/game/*
|
// @match http://*.grepolis.com/game/*
|
||||||
//
|
//
|
||||||
// @version 1.0.87
|
// @version 1.0.89
|
||||||
// @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==
|
||||||
|
|
||||||
@ -22,7 +22,7 @@
|
|||||||
windows = {};
|
windows = {};
|
||||||
durations = {};
|
durations = {};
|
||||||
//farm_ids = [1225, 1226, 1228, 1229, 1230, 1231];
|
//farm_ids = [1225, 1226, 1228, 1229, 1230, 1231];
|
||||||
farm_ids = [20466, 20467, 20472, 20471];
|
farm_ids = [20466, 20467, 20468, 20472, 20471];
|
||||||
|
|
||||||
setTimeout(function() {
|
setTimeout(function() {
|
||||||
var logGPWindow = new GPWindow(-1, null);
|
var logGPWindow = new GPWindow(-1, null);
|
||||||
@ -65,7 +65,7 @@
|
|||||||
timerWindow.append('Farm ID ' + xFarmId + ': <span id="' + tmoutId + '"><script>j_countdown(' + Math.floor(tmout/1000) + ', "' + tmoutId + '");</script></span><br />');
|
timerWindow.append('Farm ID ' + xFarmId + ': <span id="' + tmoutId + '"><script>j_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>" + GM_info.script.version);
|
$("#ui-id" + logGPWindow.getID()).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>" + GM_info.script.version);
|
||||||
var choose = $("#choosefarmduration")[0];
|
var choose = $("#choosefarmduration")[0];
|
||||||
choose.onchange = function() {
|
choose.onchange = function() {
|
||||||
farmDuration = this.value;
|
farmDuration = this.value;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user