User:Mr Creeper500/chat.js

/*Directly taken from the Happy Tree Friends Wiki*/

importArticles({   type: 'script',    articles: [        // ...        'u:kocka:MediaWiki:Emoticons.js',        "u:dev:MediaWiki:PrivateMessageAlert/code.js",        'u:dev:ChatSendButton.js'        // ...    ] }); importArticles({   type: 'script',    articles: [        'u:runescape:User:Joeytje50/tabinsert.js', //Tab Insert        'u:dev:AjaxEmoticons/code.js', //AjaxEmoticons (so users don't have to refresh the chat to see the latest emoticons)        'u:dev:ChatTags/code.js',        'u:dev:!mods/code.js',        'u:dev:ChatOptions/code.js',        'u:dev:!kick/code.js'    ] }); /* Clear chat */ function clearChatText { var $clearDiv = $(' ').addClass('chat-button'); var $clearLink = $('').addClass('wikia-button').text('Clear chat'); $clearDiv.html($clearLink); $clearLink.click(function {       $('.Chat li').remove;    }); return $clearDiv;