MediaWiki:Vector.js: Difference between revisions
Jump to navigation
Jump to search
(Created page with "→All JavaScript here will be loaded for users of the Vector skin: if (mw.config.get('wgCanonicalSpecialPageName') === 'CreateAccount') { function tryRemoveBox(attempts) { var box = document.querySelector('.mw-createacct-benefits-container'); if (box) { box.remove(); } else if (attempts > 0) { setTimeout(function () { tryRemoveBox(attempts - 1); }, 100); } } tryRemoveBox(20); }") |
(No difference)
|
Revision as of 07:19, 5 August 2025
/* All JavaScript here will be loaded for users of the Vector skin */ if (mw.config.get('wgCanonicalSpecialPageName') === 'CreateAccount') { function tryRemoveBox(attempts) { var box = document.querySelector('.mw-createacct-benefits-container'); if (box) { box.remove(); } else if (attempts > 0) { setTimeout(function () { tryRemoveBox(attempts - 1); }, 100); } } tryRemoveBox(20); }