Created
August 11, 2015 17:56
-
-
Save scottwyden/281bb82243f8d0279f84 to your computer and use it in GitHub Desktop.
Snippet example for an article at Pivot Point Security
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<style id="antiClickjack">body{display:none !important;}</style> | |
<script type="text/javascript"> | |
if (self === top) { | |
var antiClickjack = document.getElementById("antiClickjack"); | |
antiClickjack.parentNode.removeChild(antiClickjack); | |
} else { | |
top.location = self.location; | |
} | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment