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"; | |||
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 47: | Line 47: | ||
</script> | </script> | ||
<style> | <style> | ||
#bodyContent | #iframeWin #bodyContent *:not(#mw-content-text) { | ||
display: none; | display: none; | ||
} | } | ||
</style> | </style> | ||
</html> | </html> |
Revision as of 17:43, 10 July 2023
Usage
What links here