Summary on js cross-domain issues

怪我咯
Release: 2017-06-27 11:47:13
Original
1104 people have browsed it

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!

Related labels:
source:php.cn
Statement of this Website
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
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!