老莫的笔记本's Archiver
敲代码不为别的,就是为了找个媳妇
›
随笔
› iframe 跨域页面问题
周大胖子
发表于 2018-7-26 10:55:08
iframe 跨域页面问题
<div class="blockcode"><blockquote>// 让当前窗口为top窗口
function loadTopWindow(){
if (window.top!=null && window.top.document.URL!=document.URL){
window.top.location= document.URL;
}
}
页:
[1]
查看完整版本:
iframe 跨域页面问题