The specific steps are as follows:
Chrome under Windows system (Win7)
1. Close all open Chrome. (important). Otherwise, it will have no effect!
2. Create a Chrome shortcut and modify the shortcut target to:
"C:\Program Files\Google\Chrome\Application\chrome.exe" --args --disable-web-security1
As shown in the figure: Create a Chrome shortcut
3. Double-click the Chrome shortcut we created to open Chrome, such as The figure shows "You are using an unsupported command line flag: –disable-web-security. Stability and security will be reduced." This means that you have canceled the cross-domain restrictions and can call data across domains at will.
As shown in the figure: You are using an unsupported command line flag: --disable-web-security. The stability and security will be reduced
Mac os. Use
/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --disable-web-security1
or
open -a "Google Chrome" --args --disable-web-security1 Ubuntu?Linux: chromium-browser --disable-web-security1
to open Apple Safafi from the command line. The method is: ( Under Mac OS)
open -a '/Applications/Safari.app' --args --disable-web-security /Google\ Chrome.app --args --disable-web-security --user-data-dir
The above is the detailed content of Detailed explanation of Chrome under Windows system. For more information, please follow other related articles on the PHP Chinese website!