Cross-domain - chrome latest version 49 cross-domain problem Chrome latest version 49 cross-domain problem

Chrome latest version 49 cross domain problem

 

 

1. The latest version 49 should add new parameters --user-data-dir
windows:
"C:\Program Files\Google\Chrome\Application\chrome.exe" --args --disable-web-security --user -data-dir

OSX:
$ open -a Google\ Chrome --args --disable-web-security --user-data-dir

And reboot, it will take effect.

 

 

Chrome cross domain settings after version 49

After the version of chrome is upgraded to 49

The specific method is:

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

2. Add --args --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.

 

 

References

http://www.cnblogs.com/cshi/p/5660039.html

 

1. The latest version 49 should add new parameters --user-data-dir
windows:
"C:\Program Files\Google\Chrome\Application\chrome.exe" --args --disable-web-security --user -data-dir

OSX:
$ open -a Google\ Chrome --args --disable-web-security --user-data-dir

And reboot, it will take effect.

 

 

Chrome cross domain settings after version 49

After the version of chrome is upgraded to 49

The specific method is:

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

2. Add --args --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.

 

 

References

http://www.cnblogs.com/cshi/p/5660039.html

Guess you like

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