User:Super Saiyan 7 Somebody/global.js

/* Chat Hacks, Monchoman45 */ importScriptPage('User:Monchoman45/ChatHacks.js', 'c');

/* PM Button, Joeytje50 */ importScriptPage('User:Joeytje50/ChatPMs.js', 'c');

/* Auto-refresh pages, Pcj (according to Dev Wiki's page) */ importScriptPage( 'AjaxRC/code.js', 'dev' ); var ajaxPages = ["Special:RecentChanges","Special:Watchlist","Special:Log","Special:Contributions","Special:WikiActivity"]; var AjaxRCRefreshText = 'Auto-refresh';

/* Purge pages, Dev Wiki page by Uberfuzzy */ importScriptPage( 'PurgeButton/code.js', 'dev' );

/* Reveal Anon I.P., Dev Wiki page by Lunarity */ importScriptPage('RevealAnonIP/usercode.js', 'dev');

/* Back to top of page button, Noemon */ importScriptPage('BackToTopButton/code.js', 'dev');

/* Useful source mode buttons, Thailog (Original coding) */ if ((wgAction == 'submit' || wgAction == 'edit') && mwCustomEditButtons) { mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://images.wikia.com/central/images/c/c8/Button_redirect.png", "speedTip": "Redirect", "tagOpen": "#REDIRECT ",		"tagClose": "", "sampleText": ""};

mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "SIG", "speedTip": "Alt-sig", "tagOpen": "—Super Saiyan 7 Somebody", "tagClose": " | talk | edits", "sampleText": ""}; }

/* Adds 'Editcount' tab to User namespace, Yuzura? */ $(function {   var loc = window.location.href;    var username = (wgTitle == "Contributions") ? loc.substring(loc.lastIndexOf("/")+1) : wgTitle;    $('.tabs-container > ul.tabs').append('Editcount'); });