User:TotallyNotJullian/global.js

importArticles({   type: 'script',    articles: [        'u:dev:MediaWiki:MassEdit/code.js',    ] }); window.massEditConfig = { editInterval: 1500 }; importArticles({   type: 'script',    articles: [        'u:dev:MediaWiki:RailWAM/code.js'    ] }); /*const badgeWP = document.getElementsByClassName('RF_badgeWP'); if(badgeWP !== undefined) { for (var i = 0; i < badgeWP.length; i++) { var badgeWPd = badgeWP[i].getAttribute("data-source-id"); var result; $.ajax({     crossOrigin: true,      async: false,      url: "https://roblox.uromastyx.xyz/v1/badges/" + badgeWPd,      success: function (data) {        result = (data.statistics.winRatePercentage * 100) + "%";      }    }); badgeWP[i].innerHTML = result } }*/ /* Testing (code from Mining Simulator wiki) */ var categories = document.querySelector(".page-header__categories-links"); var getcategories = categories.getElementsByTagName("a"); var ahref; var ahrefc = 0; /*while (ahrefc < getcategories.length) { ahref = getcategories[ahrefc].href; switch (ahref) { case "https://treasurequestroblox.fandom.com/wiki/Category:Halloween": document.getElementsByClassName('wds-community-header__sitename')[0].innerHTML = `🎃Treasure Quest Wiki🎃` document.getElementsByClassName('wds-community-header__wordmark')[0].innerHTML = ` ` document.body.classList.add("hbg"); document.getElementsByClassName('wds-community-header')[0].style.color = `#000` const aa = document.getElementsByTagName('a') var ab; var ac = 0; while (ac < aa.length) { aa[ac].style.color = `#903E18`; ac += 1 }   break; }   ahrefc += 1; }*/