Created
January 20, 2018 15:07
-
-
Save ju1/e6ff3393181aadfa593eb924118dd759 to your computer and use it in GitHub Desktop.
Is the page in the iframe
This file contains hidden or 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
function() { | |
try { | |
return window.top !== window.self; | |
} catch(e) { | |
return false; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment