User:MACH-59330/chat.js

// chat imports importArticles({   type: 'script',    articles: [        'u:dev:MediaWiki:ChatOptions/code.js',        'u:kocka:MediaWiki:Emoticons/code.js'    ] }); // u:noreply:User:Noreplyz/mobilechat.css $('head').append(mw.html.element('meta', { name: 'viewport', content: 'width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0' })); // chat options button adjustment chatoptionsbutton = setInterval(function {	if ($('#chatOptionsButton').length) {       $('#chatOptionsButton').remove;        var newoptionbutton = '<\/div>';        mw.util.addCSS( '#chatOptionsButton {' + 'position: absolute;' + 'right: 0;' + 'z-index: 3;' + 'padding: 3px;' + '}'       );        $('#ChatHeader').prepend(newoptionbutton);        clearInterval(chatoptionsbutton);    } }, 150);