js不允许单独打开left.aspx或top.apsx

function GoFrame()
{
 if (top == self){location.replace("./");}
}
GoFrame();
原文地址:https://www.cnblogs.com/wdx2008/p/804977.html