User:Waluigi68/global.js

/** * Finir le tchat */ 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 *  By User:Sébastien M *  From the Call of Duty Wiki */ var chatOptionsLoaded = false; if (!chatOptionsLoaded) { chatOptionsLoaded = true; importScriptPage('MediaWiki:Chat.js/options.js', 'cod'); } /** * ChatTags *  By User:AnimatedCartoons */ var chatags = { images: true, videos: true }; importScriptPage('ChatTags/code.js', 'dev'); importScriptPage( 'ChatObject/code.js', 'dev' ); // hi Chat.colorSchemeOne ({ chatBackground: '#9fd1f2', pageBackground: '#73a9cc', textColor: '#103249' }); importArticles( {   type: 'script',    articles: [        // ...        'u:dev:!mods/code.js',        // ...    ] } );