User:FINNER/global.js

importArticles({   type: 'script',    articles: [        'u:dev:UTCClock/code.js',        'u:dev:MediaWiki:WHAM/code.2.js',        'u:dev:MediaWiki:RevealAnonIP/usercode.js',    ] }); /* window.console.log(-1); document.getElementsByClassName("wds-button")[0].onclick = function {customizeEditor};

function customizeEditor { window.console.log(0); pause(1000); window.console.log(1); var toggle = document.getElementsByClassName("oo-ui-widget oo-ui-widget-enabled oo-ui-buttonElement oo-ui-buttonElement-frameless oo-ui-indicatorElement oo-ui-buttonWidget oo-ui-popupButtonWidget ve-ui-modeSwitchPopupButtonWidget oo-ui-labelElement")[0]; var toolbar = document.getElementsByClassName("oo-ui-toolbar-bar")[0]; var title = document.getElementsByClassName("ve-init-mw-desktopArticleTarget-title")[0]; var footer = document.getElementsByClassName("ve-ui-summaryPanel-copyrightWarningFooter")[0]; if (toggle !== null && toggle !== undefined) { window.console.log(2); toggle.style.display = 'none'; }   if (toolbar !== null && toolbar !== undefined) { toolbar.style.padding = '0'; }   if (title !== null && title !== undefined) { title.style.display = 'none'; }   if (footer !== null && footer !== undefined) { footer.style.display = 'none'; }   window.console.log(3); }