MediaWiki:Chat.js

/* Courtesy of the Runescape Wiki */

//Chat's topic. Remember to escape single quotes in the topic using \' to prevent this from breaking. var chatTopic = 'Welcome to the Adventure Time Wiki chat!'

$(function { $('#ChatHeader .public.wordmark').prepend(''+chatTopic+' ') .find('a').attr('style','position:relative;text-decoration:underline;') }) $('#ChatHeader .public.wordmark div:not(:first-child)').remove

/* Creating /me command */ document.getElementsByName('message')[0].onkeypress = function(e) { if (e.which == 32) { if (this.value == '/me') { this.value = '* '+wgUserName; } } }

/*Tab Insert*/ importScriptPage('User:Joeytje50/tabinsert.js','runescape')