Home > Article > Web Front-end > Summary on js cross-domain issues
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!