User:Pandawarrior/global.js

// Ajax auto-refresh /* Options */ ajaxPages = ['Special:RecentChanges', 'Special:WikiActivity', 'Special:Watchlist', 'Special:Log', 'Special:Contributions', 'Special:NewFiles']; AjaxRCRefreshText = 'Auto-refresh'; AjaxRCRefreshHoverText = 'Auto-refresh the page'; /* Script */ importScriptPage('AjaxRC/code.js', 'dev'); // END of Ajax auto-refresh if (wgPageName.indexOf("Special:MovePage/File:") != -1 || (wgCanonicalNamespace == "File" && Storage)){ importScriptPage("FileUsageAuto-update/code.js/min.js", "dev"); } /*Chat Hacks*/ importScriptPage('User:Monchoman45/ChatHacks.js', 'c'); // Ajax auto-refresh importScriptPage('User:Joeytje50/ChatPMs.js', 'c'); /*Navigation Bar*/ if (mw.config.get("wgAction") !== "edit" && mw.config.get("wgAction") !== "submit") { $('.global-navigation-container').css('background-color', $('.navbackground').css('background-color'));