Created
April 9, 2017 15:33
-
-
Save jasonhofer/260846c0da1bb1db1b62cde2d8a7dcd0 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
<head> | |
<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> | |
</head> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment