Google (Chrome) browser settings cross-domain


1. Copy a Google Chrome shortcut and rename it to test

insert image description here

2. After clicking test, right click and select properties

insert image description here

3. Add --disable-web-security --user-data-dir=C:\MyChromeDevUserData at the end of the target input box

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

Note: here --disable-web-security --user-data-dir=C:\MyChromeDevUserData ahead 有一个空格.

insert image description here

4. After clicking the OK button, double-click the test browser to open the following picture, and the prompt You are using an unsupported command-line flag: --disable-web-security appears, indicating success

Means: You are using an unsupported command line flag: --disable-web-security Stability and security will be affected.

insert image description here

Guess you like

Origin blog.csdn.net/weixin_44784401/article/details/131111077