User:Ultimate Dark Carnage/chat.js

importArticles({   type: 'script',    articles: [        "u:dev:MessageBlocker/code.js",        "u:c:User:Ultimate_Dark_Carnage/commands.js",        "u:c:User:Ultimate_Dark_Carnage/test.js",        "u:c:User:Ultimate_Dark_Carnage/sandbox2.js"    ] }, {    'type': 'style',    articles: [        'u:c:User:Ultimate_Dark_Carnage/chat2.css'    ] });

$('.ChatHeader').hide; // Hides the chat header $('.ChatWindow').prepend($(' ', { "class": "chat-header", "id": "chat-header" }));

$('.chat-header').html([   $(' ', { "class": "chat-header-container chat-toolbar wordmark-container", "id": "wordmark-container" }),   $(' ', {        "class": "chat-header-container user-container", "id": "user-container", "data-user": wgUserName }) ]);

$('.wordmark-container').append(   $(' ', { "class": "wordmark", html: $('', {           "href": "/wiki/Main_Page",            html: $(' ', { "src": $('.wordmark img').attr("src") })       })    }) );

$('.user-container').append(   $(' ', { "class": "User user", html: [$(' ', {            "class": "avatar",            "src": $(".ChatHeader .User img[src]").attr("src")        }), $(' ', {             "class": "username",             text: wgUserName        })] }) );