/ ‘grepolis.user.js’
This commit is contained in:
parent
0d8de37d8d
commit
203a716979
@ -10,7 +10,7 @@
|
|||||||
//
|
//
|
||||||
// @match http://*.grepolis.com/game/*
|
// @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
|
// @updateURL http://git.javil.eu/jan/userscripts/raw/master/grepolis.user.js
|
||||||
// ==/UserScript==
|
// ==/UserScript==
|
||||||
|
|
||||||
@ -24,24 +24,24 @@
|
|||||||
//farm_ids = [1225, 1226, 1228, 1229, 1230, 1231];
|
//farm_ids = [1225, 1226, 1228, 1229, 1230, 1231];
|
||||||
farm_ids = [20466, 20472, 20471];
|
farm_ids = [20466, 20472, 20471];
|
||||||
|
|
||||||
setTimeout(function() {
|
var logWindow = new GPWindow(-1, null);
|
||||||
var logWindow = new GPWindow(-1, null);
|
logWindow.createWindow();
|
||||||
logWindow.createWindow();
|
logWindowElement = $(logWindow.getElement());
|
||||||
logWindowElement = $(logWindow.getElement());
|
var logWindowWrapper = logWindowElement.parent().parent();
|
||||||
var logWindowWrapper = logWindowElement.parent().parent();
|
logWindowWrapper.css({
|
||||||
logWindowWrapper.css({
|
"position": "absolute",
|
||||||
"position": "absolute",
|
"z-index": 999999999,
|
||||||
"z-index": 999999999,
|
"right": "16px",
|
||||||
"right": "16px",
|
"bottom": 0,
|
||||||
"bottom": 0,
|
"width": "300px",
|
||||||
"width": "300px",
|
"height": "300px",
|
||||||
"height": "300px",
|
"align": "left",
|
||||||
"align": "left",
|
"left": "auto",
|
||||||
"left": "auto",
|
"top": "auto"
|
||||||
"top": "auto"
|
});
|
||||||
});
|
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){'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user