Browser solve cross-domain

Some companies do not set the browser cross-domain background, so we have to set the browser cross-domain locally, I use the Google browser, follow these steps:

1, the installation directory to find the Google browser, such as: C: \ Program Files (x86) \ Google \ Chrome \ Application, copy this path;

2, the new desktop notepad writing the first line path just copied; second row write chrome.exe --disable-web-security --user-data-dir = C: \ MyChromeDevUserData

3, the file name suffix changed: .bat; after just double-click on it to open direct cross-domain browser settings;

 

Note: This script file is automatically opened by an administrator mode command line, then enter the code; write the script file is just more convenient

Guess you like

Origin www.cnblogs.com/haohao-a/p/11308287.html