From 203a716979968bd66aee7c0b1bf8237f073128bf Mon Sep 17 00:00:00 2001 From: Jan Bader Date: Sun, 15 Jun 2014 01:12:02 +0200 Subject: [PATCH] =?UTF-8?q?/=20=E2=80=98grepolis.user.js=E2=80=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- grepolis.user.js | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/grepolis.user.js b/grepolis.user.js index 0c3fd48..0115e2b 100644 --- a/grepolis.user.js +++ b/grepolis.user.js @@ -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){'