SyntaxFix
Write A Post
Hire A Developer
Questions
if ( window.location !== window.parent.location ) { // The page is in an iframe } else { // The page is not in an iframe }