Last active
December 11, 2015 17:38
-
-
Save kuleszaj/4635674 to your computer and use it in GitHub Desktop.
Cause a website to break out of any frames it may be embedded in.
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
<script type="text/javascript"> | |
if (top.frames.length!=0) | |
top.location=self.document.location; | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment