NOTICE: By continued use of this site you understand and agree to the binding Terms of Service and Privacy Policy.
// ==UserScript== // Autor: EL_PATRON // @name MenuMaf // @include https://*game*/* // @include http://*game*/* // @description Agrega al menu izquierdo las herramientas mas usadas de la familia MAF // @version 4.1 // @license MIT // ==/UserScript== var session = document.URL.substr(document.URL.indexOf("session=") + 8,12); var menuItemLi = document.createElement("li"); var menuItemIconSpan = document.createElement("span"); var menuItemTextSpan = document.createElement("span"); var menuItemText = document.createTextNode("Discord"); var menuItemA = document.createElement("a"); menuItemIconSpan.setAttribute("class", "menu_icon"); menuItemTextSpan.setAttribute("class", "textlabel"); menuItemTextSpan.appendChild(menuItemText); menuItemA.setAttribute("target", "newwindow"); menuItemA.setAttribute("href", href='https://discordapp.com/channels/@me/'); menuItemA.setAttribute("class", "menubutton"); menuItemA.appendChild(menuItemTextSpan); menuItemLi.appendChild(menuItemIconSpan); menuItemLi.appendChild(menuItemA); document.getElementById("menuTable").appendChild(menuItemLi); var menuItemLi = document.createElement("li"); var menuItemIconSpan = document.createElement("span"); var menuItemTextSpan = document.createElement("span"); var menuItemText = document.createTextNode("Estadisticas"); var menuItemA = document.createElement("a"); menuItemIconSpan.setAttribute("class", "menu_icon"); menuItemTextSpan.setAttribute("class", "textlabel"); menuItemTextSpan.appendChild(menuItemText); menuItemA.setAttribute("target", "newwimdow"); menuItemA.setAttribute("href", href='https://www.mmorpg-stat.eu/'); menuItemA.setAttribute("class", "menubutton"); menuItemA.appendChild(menuItemTextSpan); menuItemLi.appendChild(menuItemIconSpan); menuItemLi.appendChild(menuItemA); document.getElementById("menuTable").appendChild(menuItemLi); var menuItemLi = document.createElement("li"); var menuItemIconSpan = document.createElement("span"); var menuItemTextSpan = document.createElement("span"); var menuItemText = document.createTextNode("Utilidades"); var menuItemA = document.createElement("a"); menuItemIconSpan.setAttribute("class", "menu_icon"); menuItemTextSpan.setAttribute("class", "textlabel"); menuItemTextSpan.appendChild(menuItemText); menuItemA.setAttribute("target", "newwindow"); menuItemA.setAttribute("href", href='http://www.toolsforogame.com/'); menuItemA.setAttribute("class", "menubutton"); menuItemA.appendChild(menuItemTextSpan); menuItemLi.appendChild(menuItemIconSpan); menuItemLi.appendChild(menuItemA); document.getElementById("menuTable").appendChild(menuItemLi); var menuItemLi = document.createElement("li"); var menuItemIconSpan = document.createElement("span"); var menuItemTextSpan = document.createElement("span"); var menuItemText = document.createTextNode("Soporte"); var menuItemA = document.createElement("a"); menuItemIconSpan.setAttribute("class", "menu_icon"); menuItemTextSpan.setAttribute("class", "textlabel"); menuItemTextSpan.appendChild(menuItemText); menuItemA.setAttribute("target", "newwindow"); menuItemA.setAttribute("href", href='http://support.ogame.com.es/'); menuItemA.setAttribute("class", "menubutton"); menuItemA.appendChild(menuItemTextSpan); menuItemLi.appendChild(menuItemIconSpan); menuItemLi.appendChild(menuItemA); document.getElementById("menuTable").appendChild(menuItemLi);