User:Spongebob456/global.js

importScriptPage('User:Madnessfan34537/multikick.js', 'callofduty'); importScriptPage('User:Madnessfan34537/quickban.js', 'callofduty');

/* Special:Chat Extension */

importScriptPage('User:Monchoman45/ChatHacks.js', 'c'); importScriptPage('User:Joeytje50/ChatPMs.js', 'c');

/* add history to the dropdown menu for pages */ function HistoryDropdownMenuItem { $('ul.wikia-menu-button li:first-child ul li:first-child').after('History'); } /* Auto Refresh */ AjaxRCRefreshText = 'Auto-Refresh'; AjaxRCRefreshHoverText = 'Automatically refresh the page'; ajaxPages = ["Special:RecentChanges","Special:WikiActivity"]; // Skin Switch Button $( function {    if ( !document.getElementById( 'ca-skins' ) ) {        if ( skin === 'oasis' || skin === 'wikia' ) {            $('ul.tools li:first-child').before('Monobook' );        } else {            $( 'Oasis' ).appendTo( '#p-cactions > .pBody > ul' );        }    } } ); //

//LMGTFY Chat script //By Princess Platinum $('[name="message"]').keypress(function (e) {   if (e.which == 13) {        var test = "/lmgtfy";        if (this.value.indexOf(test) > -1) {            var query = this.value.replace('/lmgtfy ', '');            var query = query.replace(/ /g, "+");            this.value = "http://www.lmgtfy.com/?q=" + query        }    } });