if (window.top !== window.parent) { console.log("当前窗口嵌入了不止一层"); }
注意, 上面的代码需要在框架窗口中执行;
posted on 2019-10-19 10:03 aisowe 阅读(255) 评论(0) 编辑 收藏 举报