Template: WhatLinksHere: Difference between revisions
From ASDSO Dam Safety Toolbox
No edit summary |
No edit summary |
||
Line 24: | Line 24: | ||
content.body.getElementsByTagName("header")[0].style.display = "none"; | content.body.getElementsByTagName("header")[0].style.display = "none"; | ||
content.body.getElementsByClassName("firstHeading")[0].style.display = "none"; | content.body.getElementsByClassName("firstHeading")[0].style.display = "none"; | ||
iframeWin.contentWindow.document.getElementById('contentSub').style.display = "none"; | |||
iframeWin.contentWindow.document.getElementsByClassName('usermessage').style.display = "none"; | |||
// content.body.getElementsByClassName("usermessage").style.display = "none"; | |||
iframeWin.contentWindow.document.getElementById('mw-content-text').getElementsByTagName("fieldset")[0].style.display = "none"; | iframeWin.contentWindow.document.getElementById('mw-content-text').getElementsByTagName("fieldset")[0].style.display = "none"; | ||
iframeWin.contentWindow.document.getElementById('mw-content-text').getElementsByTagName("fieldset")[1].style.display = "none"; | iframeWin.contentWindow.document.getElementById('mw-content-text').getElementsByTagName("fieldset")[1].style.display = "none"; | ||
Line 36: | Line 37: | ||
const contentText = document.getElementById("mw-content-text"); | const contentText = document.getElementById("mw-content-text"); | ||
contentText.insertBefore(newHeader, contentText.firstChild); | contentText.insertBefore(newHeader, contentText.firstChild); | ||
iframeWin.style.display="block"; | iframeWin.style.display="block"; | ||
}); | }); | ||
Line 46: | Line 46: | ||
} | } | ||
</script> | </script> | ||
</html> | </html> |
Revision as of 17:53, 10 July 2023
Usage
What links here
What links here