User:0icke0/common.js

const elems = document.querySelectorAll(".gamepedia_pro_user"); elems.forEach((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 (const content of contents) { let child; 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); } }