Home  >  Article  >  Web Front-end  >  Summary on js cross-domain issues

Summary on js cross-domain issues

怪我咯
怪我咯Original
2017-06-27 11:47:131151browse

1. Settings of document.domain+iframe
2. Dynamically creating script
3. Cross-domain data using iframe and location.hash
4. Cross-domain data implemented by window.name Transmission
5, use HTML5 postMessage
6, use flash

7, jsonp

If you are local, you can use tools such as vase and gulp

The above is the detailed content of Summary on js cross-domain issues. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn