User:Konan Ame/global.js

importScriptPage('AdvancedOasisUI/code.js', 'dev'); importScriptPage('AjaxRC/code.js', 'dev'); importScriptPage('FixWantedFiles/code.js', 'dev'); importScriptPage('SearchGoButton/code.js', 'dev');

window.AdvancedOasisUI = { accountNavFollowedPages: true, accountNavWatchlist: false, categoryRedlink: true, RCHeader: true, lightbox: true, randomPageLimitedTo: '', activity2RC: false, userLang: true, }; 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); var ajaxRefresh = 10000; ajaxPages = ["Special:RecentChanges","Special:Watchlist","Special:Log","Special:Contributions","Special:WikiActivity"]; ajaxCallAgain = [AnonIP];