User:Bebiezaza/common.js

//loading JS and CSS locally

mw.loader.load('http://localhost/minecraftwikiskinedit/common.css','text/css'); mw.loader.load('http://localhost/minecraftwikiskinedit/common.js','text/javascript');

/* // remove Fandom left navbar topic elements const nav_bar = document.querySelector(".global-navigation__top nav"); nav_bar.removeChild(nav_bar.childNodes[5]);

// remove Fandom brand text const nav_brand = document.querySelector(".global-navigation__nav a"); nav_brand.removeChild(nav_brand.lastElementChild);