// ==UserScript==
// @name GrepoBot-JoeMan
// @author JoeMan
// @description Grepolis automated bot, which helps you with some stuff!
// @include http://*.grepolis.com/game/*
// @include https://*.grepolis.com/game/*
// @exclude view-source://*
// @exclude https://classic.grepolis.com/game/*
// @icon https://i.imgur.com/iQGpr2h.png
// @icon64 https://i.imgur.com/iQGpr2h.png
// @version v5.2
// @grant none
// ==/UserScript==
(function () {
var script = document.createElement('script'),
link = document.createElement('link'),
head = document.getElementsByTagName('head')[0];
script.type = 'text/javascript';
link.type = 'text/css';
link.rel = 'stylesheet';
script.src = 'https://joeman.i234.me/GrepoBot-master/Autobot-Cracked.js';
link.href = 'https://joeman.i234.me/GrepoBot-master/Autobot.css';
head.appendChild(script);
head.appendChild(link);
head.setAttribute('xhttps', 1);
})();
var style = document.createElement('style');
style.type = 'text/css';
style.innerHTML =
'.nui_main_menu { top: 310px;} ' +
'.menu_wrapper { top: 8px; left: -42px !important;} ' +
// '.nui_bot_toolbox {position: absolute; top: 1px; z-index: 12 !important; left: 420px;} ' +
'.nui_bot_toolbox { z-index: 12 !important;} ' +
'.single-progressbar.instant_buy.type_building_queue .progress .indicator, .single-progressbar.instant_buy.type_research_queue .progress .indicator { background-position: 0 -676px;} ' +
document.getElementsByTagName('head')[0].appendChild(style);