判断是否存在父页面

if(window.top === window.self) {//不存在

}

posted @ 2017-05-11 11:41  Liu66~  阅读(135)  评论(0编辑  收藏  举报