这句帮你搞定:if(window.top != window.self){
window.top.location = window.self.location;
}
本文介绍了一种使用JavaScript实现的浏览器窗口重定向技巧,通过判断当前窗口是否为顶级窗口来决定是否进行页面重定向。
这句帮你搞定:if(window.top != window.self){
window.top.location = window.self.location;
}
7444

被折叠的 条评论
为什么被折叠?