Created
May 26, 2017 11:35
-
-
Save enile8/d3db9010dbf314ca89743b0b9d40ed3e to your computer and use it in GitHub Desktop.
break out of iframes
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(window.location != window.parent.location) { | |
window.parent.location = window.location; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment