1、location.hash + iframe
①.利用 iframe 、 location.hash 传值
②.a访问c,通过b来传播 (a、b同域名,c另外域名)
a.html
a.html 我是a.html页面
b.html
b.html 我是b.html页面
c.html
c.html 我是c.html页面
document.body.appendChild(iframe);
1、location.hash + iframe
①.利用 iframe 、 location.hash 传值
②.a访问c,通过b来传播 (a、b同域名,c另外域名)
a.html
a.html 我是a.html页面
b.html
b.html 我是b.html页面
c.html
c.html 我是c.html页面
document.body.appendChild(iframe);