User:Aelita Schaeffer/global.js

importScriptPage( 'PurgeButton/code.js', 'dev' ); importScriptPage('AjaxBatchDelete/code.js', 'dev'); importScriptPage('DupImageList/code.js', 'dev'); importScriptPage('User:Nikolaitttt/whammod.js', 'southpark'); importScriptPage('BackToTopButton/code.js', 'dev'); importScriptPage('User:Kangaroopower/global.js/customrollbacks.js', 'c'); importScriptPage('User:Monchoman45/ChatHacks.js', 'c'); importScriptPage('Sine/code.js', 'dev'); importScriptPage( 'FastDelete/code.js', 'dev' ); var fdButtons = []; fdButtons[fdButtons.length] = { 'summary': 'Removing Unused/Unnecessary Page, Photo, or Redirect', 'label': 'Quick Delete' };

importScriptPage('AjaxRC/code.js', 'dev'); var ajaxRefresh = 10000; ajaxPages = ["Special:RecentChanges","Special:Watchlist","Special:Log","Special:Contributions","Special:WikiActivity"];

var AdvancedOasisUIConfig = { accountNavFollowedPages: false, accountNavWatchlist: false, categoryRedlink: true, RCHeader: true, lightbox: true, userLang: false, }; importScriptPage('AdvancedOasisUI/code.js', 'dev');

// Convert "Anonymous" in Comments to IP address // from User:Monchoman45 function AnonIP { var list = document.getElementsByTagName('a'); for(var i in list) { if(list[i].href && list[i].href.indexOf('Special:Contributions/') && list[i].innerHTML == 'A Wikia contributor') { list[i].innerHTML = list[i].href.substring(list[i].href.lastIndexOf('/') + 1, list[i].href.length); }	} } addOnloadHook(AnonIP);