User:Aelita Schaeffer/global.js

importScriptPage( 'PurgeButton/code.js', 'dev' ); importScriptPage('AjaxBatchDelete/code.js', 'dev'); importScriptPage('DupImageList/code.js', 'dev'); //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' };

// 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);