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.getElementById('contentSub').style.display = "none"; | ||
//iframeWin.contentWindow.document.getElementsByClassName("usermessage").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"; | ||
Line 46: | Line 46: | ||
} | } | ||
</script> | </script> | ||
<style> | |||
#bodyContent > *:not(#mw-content-text) { | |||
display: none; | |||
} | |||
</style> | |||
</html> | </html> |
Revision as of 17:40, 10 July 2023
Usage
What links here