User:StarmanW/chat.js

importScriptURI('http://navid.wikia.com/index.php?title=User:StarmanW/chat.js&action=raw&ctype=text/javascript');

/* Clear chat */ function addClearChatText { "use strict"; if ($('.clearChatText').length <= 0) { var clearChatText = document.createElement('span'); $('Clear chat ').prependTo('.Rail'); } } function clearChat { "use strict"; var chatSize = $('div.Chat:first ul li').size - 1; $('.Chat:first li:lt(' + chatSize + ')').remove; } window.onload = addClearChatText; /* Chat options */ var chatOptionsLoaded = false; if (!chatOptionsLoaded) { chatOptionsLoaded = true; } //—————————————————————————————— ! ! ! ———————————————————————————————// /* Import scripts. NOTE: Place scripts configurations above this line */ importArticles( {   type: 'script',    articles: [        'u:dev:ChatTags/code.js',        'u:dev:ChatOptions/code.js'    ] } );