判断是否存在父页面

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

}

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