Basically, I just want something not to run when a page is loaded into an iframe. Is there an easy way to do this?开发者_运维技巧
if (window != window.top) {
// the script runs in an iframe
}
Basically, I just want something not to run when a page is loaded into an iframe. Is there an easy way to do this?开发者_运维技巧
if (window != window.top) {
// the script runs in an iframe
}
精彩评论