varHOST=‘http://hummer.baidu.com‘;varautoAjax=function(data){if(!data||typeofdata!=‘object‘)return;varrnd=newDate().getTime();if(!data.proxy)data.proxy=HOST+‘/static/proxy.html?_=‘+rnd;varname=‘postIframe‘;varproxyhost=/^((?:[^:\/?#]+):)?(\/\/([^/?#]*))?([^..
分类:
其他好文 时间:
2015-08-20 15:34:59
阅读次数:
372
H5 跨域通信:在主页面中通过iframe嵌入外部页面,通过iframe的window对象postMessage方法向iframe页面传递消息。 1 2 3 4 5 跨域通信示例 6 12 13 14 跨...
分类:
Web程序 时间:
2014-09-15 00:59:27
阅读次数:
194