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

Summary on js cross-domain issues

怪我咯
Release: 2017-06-27 11:47:13
Original
1238 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:
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 Issues
What are JavaScript hook functions?
From 1970-01-01 08:00:00
0
0
0
What is JavaScript garbage collection?
From 1970-01-01 08:00:00
0
0
0
c++ calls javascript
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template