Skip to content

Instantly share code, notes, and snippets.

@geedew
Created February 20, 2014 15:47
Show Gist options
  • Save geedew/9116693 to your computer and use it in GitHub Desktop.
Save geedew/9116693 to your computer and use it in GitHub Desktop.
David Walsh's Frame Busting
if (top.location != self.location) {
top.location = self.location.href;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment