大家好,又见面了,我是你们的朋友全栈君。
/* 如果页面嵌套,跳出嵌套 */
if (window.top != window.self) {
top.location = this.location;
}
发布者:全栈程序员-站长,转载请注明出处:https://javaforall.net/148916.html原文链接:https://javaforall.net
解决iframe嵌套页面问题「建议收藏」/*如果页面嵌套,跳出嵌套*/if(window.top!=window.self){top.location=this.location;}
大家好,又见面了,我是你们的朋友全栈君。
/* 如果页面嵌套,跳出嵌套 */
if (window.top != window.self) {
top.location = this.location;
}
发布者:全栈程序员-站长,转载请注明出处:https://javaforall.net/148916.html原文链接:https://javaforall.net