mmsgamer / Fix Nom Constru AGR

// ==UserScript==
// @name         Fix Nom Constru AGR
// @namespace    http://tampermonkey.net/
// @version      0.1
// @description  try to take over the world!
// @author       mmsgamer
// @license      MIT
// @copyright    2020 mmsgamer
// @match        https://*.ogame.gameforge.com/game/*
// @grant        none
// ==/UserScript==

(function() {var css = "";
if (false || (new RegExp("^https://s.*.ogame.gameforge.com..*$")).test(document.location.href))
	css += [

        ".ago_planets_construction{",
        "background: rgba(0,15,25,0.7) !important;",
        "border: 1px solid black !important;",
        "position: absolute !important;",
        "left: 150px !important;",
        "top: 1px !important;",
        "color: white !important;",
        "font-size: 10px;",
        "line-height: 10px;",
        "}",
        "",
    ".ago_planets_construction_moon{",
        "background: rgba(0,15,25,0.7) !important;",
        "border: 1px solid black !important;",
        "position: absolute !important;",
        "left: 150px !important;",
        "top: 18px !important;",
        "color: white !important;",
        "font-size: 10px;",
        "line-height: 10px;",
        "}",
].join("\n");
if (typeof GM_addStyle != "undefined") {
	GM_addStyle(css);
} else if (typeof PRO_addStyle != "undefined") {
	PRO_addStyle(css);
} else if (typeof addStyle != "undefined") {
	addStyle(css);
} else {
	var node = document.createElement("style");
	node.type = "text/css";
	node.appendChild(document.createTextNode(css));
	var heads = document.getElementsByTagName("head");
	if (heads.length > 0) {
		heads[0].appendChild(node);
	} else {
		// no head yet, stick it whereever
		document.documentElement.appendChild(node);
	}
}
})();