User:Bnm786/chatstuff.js

// Chat Hacks importScriptPage('User:Bnm786/ChatHacks.js', 'c'); // Group-PM if(wgCanonicalSpecialPageName == 'Chat') { function createGroupPM { var users = prompt('Enter comma seperated list of users to start a PM with',''); var users = users.split(','); mainRoom.openPrivateChat(users); } $('form#Write').append('PM'); } // Tab Insert importScriptPage('User:Joeytje50/tabinsert.js', 'rs'); // Search Bar $('#ChatHeader').append('  ')        $(function changeimagelinks {          if (window.skin == 'oasis') {            var article = $('#WikiaArticle, .LatestPhotosModule, #article-comments');        }        else {            var article = $('#bodyContent');        }          article.unbind('click.lightbox');          var a = document.getElementsByTagName("a");        for ( var t = 0; t < a.length; ++t ) {            var a2 = a[t];            var img = a2.getElementsByTagName("img");            if ( img[0] != null ) {                if ( a2.href.indexOf("wikia.nocookie.net") != -1 ) {                    var link = wgServer + '/wiki/File:' + a2.getAttribute('data-image-name');                    a2.setAttribute('href',link);                }            }        }    }); // Multi Kick importScriptPage('User:Madnessfan34537/multikick.js', 'callofduty'); // Quick Ban importScriptPage('User:Madnessfan34537/quickban.js', 'callofduty');