Created
July 28, 2010 11:30
-
-
Save ianoxley/494139 to your computer and use it in GitHub Desktop.
A JavaScript snippet for framebusting
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
if (self != top) { | |
document.documentElement.style.visibility = 'hidden'; | |
top.location = self.location; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment