User:Randomfvideos/global.js

/* Chat functions */

// Message Blocker importScriptPage('MessageBlocker/code.js', 'dev');

// Clear chat button function addClearChatText{ if ($('.clearChatText').length <= 0) { var clearChatText = document.createElement('span'); $('Clear chat ').prependTo('.Rail'); } } function clearChat{ chatSize = $('div.Chat:first ul li').size-1; $('.Chat:first li:lt('+chatSize+')').remove; } window.onload=addClearChatText;

/* End Chat functions */