User:Microchip08/mpt.js
Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
- Opera: Press Ctrl-F5.
// main page tweaks
if(wgPageName == 'Main_Page') addOnloadHook((function (){ // Is this page the Main Page? If so do this.
var el = document.getElementById('firstHeading'); // Find the bit that says "Main Page"
if (el) el.style.display = 'none'; // Remove it
var el = document.getElementById('contentSub'); // Find the bit that watchlist notifier uses
if (el) el.style.display = 'none'; // Remove it
}));