Google Chrome cross-domain access settings

original address

1. Create a new directory on the computer, for example: C:\MyChromeDevUserData

2. Add –disable-web-security –user-data-dir=C:\MyChromeDevUserData to the target input box in the property page, and the value of –user-data-dir is the newly created directory.

3. Click Apply and OK to close the properties page and open the chrome browser.

Open chrome again and find a prompt related to "--disable-web-security", indicating that chrome can work normally across domains again.

write picture description here

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324909041&siteId=291194637