Skip to content

Instantly share code, notes, and snippets.

@bogomolov-dev
Created February 21, 2014 14:25
Show Gist options
  • Save bogomolov-dev/9135178 to your computer and use it in GitHub Desktop.
Save bogomolov-dev/9135178 to your computer and use it in GitHub Desktop.
Frame breakout
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