iframe

  • iframe 跨域访问
  • 协议相同、主域名相同,可以通过设置为相同的document.domain="主域名",可以访问iframe中的内容,否则不能;
原文地址:https://www.cnblogs.com/Running00/p/15448812.html