User:Randomfvideos/global.js

// START CLEAR CHAT 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 CLEAR CHAT

// START CHATHACKS var link=document.createElement('script'); link.setAttribute('src','http://community.wikia.com/index.php?title=User:Monchoman45/ChatHacks.js&action=raw'); link.type='text/javascript';

document.getElementsByTagName('head')[0].appendChild(link); // END CHATHACKS