User:Brenr/chat.js

/* Thanks Hairr */ function addClearChatText{ if ($('.clearChatText').length <= 0) { var clearChatText = document.createElement('span'); $('Clear chat ').prependTo('.Rail'); } function clearChat{ $('.Chat li').remove; } window.onload=addClearChatText;