MediaWiki:Monobook.js: Difference between revisions
From JP1 Remotes Wiki
Jump to navigationJump to search
The Robman (talk | contribs) Created page with "→All JavaScript here will be loaded for users of the MonoBook skin: document.addEventListener('DOMContentLoaded', function () { const mainLink = document.querySelector('#mw-panel a[href*="Main_Page"]'); if (mainLink) { mainLink.removeAttribute('style'); } });" |
(No difference)
|
Revision as of 17:42, 18 November 2025
/* All JavaScript here will be loaded for users of the MonoBook skin */
document.addEventListener('DOMContentLoaded', function () {
const mainLink = document.querySelector('#mw-panel a[href*="Main_Page"]');
if (mainLink) {
mainLink.removeAttribute('style');
}
});