User:SaucyLegs69420/common.js

function fixFandomsStupidMobileSkin { if (document.getElementsByTagName("body")[0].classList.contains("skin-fandommobile")) { var tocTags = document.getElementsByClassName("toc"); for (var i = 0; i < tocTags.length; i++) { tocTags[i].removeAttribute("class"); }	} }

if (document.readyState == "loading") { document.addEventListener("DOMContentLoaded", fixFandomsStupidMobileSkin); } else { fixFandomsStupidMobileSkin; }