Cross-domain refers to a document or script in one domain trying to request resources in another domain. Cross-domain here is broad. This article mainly shares with you the front-end cross-domain solution and hopes to help everyone.
Broad cross-domain:
1.) Resource jump: A link, redirection, form submission
2.) Resource embedding:,