摘要: 什么是跨域 JSONP proxy代理 cors xdr 由于浏览器同源策略,凡是发送请求url的协议、域名、端口三者之间任意一与当前页面地址不同即为跨域。具体可以查看下表(来源) JSONP 这种方式主要是通过动态插入一个script标签。浏览器对script的资源引用没有同源限制,同时资源加载到 阅读全文
posted @ 2016-06-21 15:34 shiddong 阅读(305) 评论(0) 推荐(0) 编辑
摘要: The XMLHttpRequest object (also known as the XMLHTTP object in Internet Explorer) is at the core of today's most exciting AJAX web applications. But a 阅读全文
posted @ 2016-06-21 15:06 shiddong 阅读(628) 评论(0) 推荐(0) 编辑
摘要: 什么是跨域 1、document.domain+iframe的设置 2、动态创建script 3、利用iframe和location.hash 4、window.name实现的跨域数据传输 5、使用HTML5 postMessage 6、利用flash 本文来自网络(http://f2e.me/20 阅读全文
posted @ 2016-06-21 14:13 shiddong 阅读(166) 评论(0) 推荐(0) 编辑