User:Willowlight7/global.js

importScriptPage('AjaxRC/code.js', 'dev'); importScriptPage('ChatOptions/code.js', 'dev'); importArticles({ type: 'script', articles: [ // ... 'u:dev:LastEdited/code.js', // ... ] }); /* Removing first half of hideous Fandom logo */ $('svg.wds-global-navigation__logo-image.wds-is-wds-company-logo-fandom').replaceWith('');

var ajaxPages = ['Special:RecentChanges','Special:WikiActivity','Special:Contributions']; var AjaxRCRefreshText = 'Auto-refresh';

var hasClass = (function {    var reCache = {};    return function (element, className) {        return (reCache[className] ? reCache[className] : (reCache[className] = new RegExp("(?:\\s|^)" + className + "(?:\\s|$)"))).test(element.className);   }; });