How to detect if our website is opened inside an iFrame?
if ( window != window.top ) { alert("I'm in a frame!"); } |
Проблемите, с които се сблъскваме всеки ден
How to detect if our website is opened inside an iFrame?
if ( window != window.top ) { alert("I'm in a frame!"); } |