User:0icke0/common.js

const elems = document.querySelectorAll(".gamepedia_pro_user"); elems.forEach(function (elem) {	elem.classList.remove("gamepedia_pro_user"); });

document.getElementById("bodyContent").style.width="100%";

//Reorder to put infobox on top of page. const contents = document.getElementsByClassName("mw-parser-output"); for (var i=0; i<contents.length; i++) { const content = contents[i]; var child = undefined; if (content.children[1] && content.children[1].className.toString.indexOf("infobox") !== -1) { child = content.children[1]; } else if (content.children[2] && content.children[2].className.toString.indexOf("infobox") !== -1) { child = content.children[2]; }	if (child !== undefined) { content.removeChild(child); content.prepend(child); } }