Instantly share code, notes, and snippets.

Embed
What would you like to do?
Javascript Frame Busting
if(top != self) {
top.onbeforeunload = function() {};
top.location.replace(self.location.href);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment