Difference between revisions of "MediaWiki:Common.js"
Jump to navigation
Jump to search
Mg27713root (talk | contribs) m (No need for load listener?) |
Mg27713root (talk | contribs) (Commented out) |
||
Line 2: | Line 2: | ||
//addEventListener("load", function() { | //addEventListener("load", function() { | ||
− | var title = document.getElementById("firstHeading"); | + | //var title = document.getElementById("firstHeading"); |
− | if (title.innerText === "Main Page") | + | //if (title.innerText === "Main Page") |
− | + | // title.style.display = "none"; | |
//}); | //}); |
Revision as of 04:45, 29 March 2021
/* Any JavaScript here will be loaded for all users on every page load. */ //addEventListener("load", function() { //var title = document.getElementById("firstHeading"); //if (title.innerText === "Main Page") // title.style.display = "none"; //});