/ ‘grepolis.user.js’

This commit is contained in:
Jan Bader 2014-06-15 01:12:02 +02:00
parent 0d8de37d8d
commit 203a716979

View File

@ -10,7 +10,7 @@
//
// @match http://*.grepolis.com/game/*
//
// @version 1.0.78
// @version 1.0.79
// @updateURL http://git.javil.eu/jan/userscripts/raw/master/grepolis.user.js
// ==/UserScript==
@ -24,24 +24,24 @@
//farm_ids = [1225, 1226, 1228, 1229, 1230, 1231];
farm_ids = [20466, 20472, 20471];
setTimeout(function() {
var logWindow = new GPWindow(-1, null);
logWindow.createWindow();
logWindowElement = $(logWindow.getElement());
var logWindowWrapper = logWindowElement.parent().parent();
logWindowWrapper.css({
"position": "absolute",
"z-index": 999999999,
"right": "16px",
"bottom": 0,
"width": "300px",
"height": "300px",
"align": "left",
"left": "auto",
"top": "auto"
});
logWindowElement.empty();
var logWindow = new GPWindow(-1, null);
logWindow.createWindow();
logWindowElement = $(logWindow.getElement());
var logWindowWrapper = logWindowElement.parent().parent();
logWindowWrapper.css({
"position": "absolute",
"z-index": 999999999,
"right": "16px",
"bottom": 0,
"width": "300px",
"height": "300px",
"align": "left",
"left": "auto",
"top": "auto"
});
logWindowElement.empty();
setTimeout(function() {
var s = document.createElement("script");
s.type = "text/javascript";
s.innerHTML = 'function countdown(t, id){'