MediaWiki:Monobook.js: Difference between revisions

From JP1 Remotes Wiki
Jump to navigationJump to search
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'); } });"
 
Tag: Replaced
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
/* All JavaScript here will be loaded for users of the MonoBook skin */
/* 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');
  }
});

Latest revision as of 18:53, 18 November 2025

/* All JavaScript here will be loaded for users of the MonoBook skin */