if (top.location != self.location){ top.location=self.location; } 转载于:https://www.cnblogs.com/konghou/p/4108402.html