Template: WhatLinksHere: Difference between revisions
From ASDSO Dam Safety Toolbox
No edit summary |
No edit summary |
||
Line 22: | Line 22: | ||
// Hide header, heading, back link & footer | // Hide header, heading, back link & footer | ||
console.log(content.body.getElementById("mw-content-text")); | |||
console.log( | console.log(content.body.getElementById("mw-content-text").getElementsByTagName("fieldset")); | ||
//linksDiv.getElementsByTagName("fieldset"); | // linksDiv.getElementsByTagName("fieldset"); | ||
content.body.getElementsByTagName("header")[0].style.display = "none"; | content.body.getElementsByTagName("header")[0].style.display = "none"; |
Revision as of 14:02, 10 July 2023
Usage