User:ScarletRose223/global.js

importArticles({   type: 'script',    articles: [        'u:dev:MediaWiki:UTCClock/code.js',        'u:dev:MediaWiki:DisplayTimer/code.js',        'u:dev:MediaWiki:SandboxLink/code.js',    ] });

(function {    var interval = setInterval(function { if ([           'ns-0',            'ns-500',            'ns-1200'        ].some(function (val) { return body.classList.contains(val); })) {           var $posts = $('#articleComments div[class^="Comment_wrapper"], #MessageWall div[class^="Message__wrapper"]'); var $empty = $('#articleComments div[class^="CommentList_empty-state"], #MessageWall div[class^="MessageWallForum__empty_state"]'); if ($posts.length || $empty.length) clearInterval(interval); if ($posts.length) $posts.has('div[title="Deleted"]').hide; } else { clearInterval(interval); }   }, 100); });