今日问题随笔

  1.需要在iframe里加入一个链接

  2.发现这个iframe是js生成的

  3.window.onload后面加入渲染逻辑不成功

  4.iframe onload后加入渲染逻辑还是不成功

  5.发现iframe调用的src与本地域名不一样

  6.想通过设置相同的根域名来防止跨域问题 document.domain='xunlei.com'

  7.发现插件里https模式下不支持设置根域名

nothing is impossible,but how long it take
原文地址:https://www.cnblogs.com/gavinphp/p/4742730.html