1.jsonp、CORS、Node中间件、nginx反向代理 2.postMessage、window.name、location.hash、document.domain 3.webSocket 跨域的九种解决方案 - 百度文库 (baidu.com)