if(top== self){
if
(top== self){
//在顶级窗口
}
else
{
//不在
js如何判断当前页面处于最顶级窗体
原文:https://www.cnblogs.com/Ly426/p/10104980.html