Solve front-end browser cross-domain issues (non-front-end code type)

1. Search the Google Store for Allow CORS: Access-Control-Allow-Origin plug-in to install and use

Insert image description here
If both icons are on, it means it’s ok.
Test.
Insert image description here
If you can’t circumvent the wall, you can use the second one.

2. Google Chrome copies a new shortcut icon

Right-click Properties -> click Shortcut and add the following code after the target

 --disable-web-security --user-data-dir=C:\MyChromeDevUserData

Note that a space should be added after the splicing. My code has already added one, just copy all of it. After confirming, open it and use it. The
Insert image description here
browser will display the information indicating that it is ok. To solve the cross-domain problem,
if it is not supported when it is confirmed to be saved, Please check whether the read-only attribute is checked.
Insert image description here
Finish spreading flowers.

Guess you like

Origin blog.csdn.net/l2345432l/article/details/123841145
Recommended