In the front-end development, often encounter browser cross-domain. In addition to back-end configuration cross-domain privilege, Chrome can also change the settings to solve cross-domain problems.
operating system
Windows
Browser Versions
After 49 editions
Setting mode
Create a new folder on your computer, for example: D: MyChrome
On Google right-click the shortcut, select "Properties" in the drop-down list.
Open the Properties window, switch to the "Shortcut" tab
- After the "target" path is added, if the target path contains a double quote, add on the outside double quotes
Note: - have a space before -allow, the last path set their own path to become the new folder1- - - file - access - from - files - - disable - web - security - - user - data - dir=D:MyChrome
- Click Apply and OK to close the Properties page, and reopen the Chrome browser, then found "-disable-web-security" related tips, chrome can explain the cross-domain
After the success of cross-domain, google home page replaced the welcome page, while the original favorite links and history are gone, and the D: MyChrome directory generates a file of personal information is relevant.
Original: Large column front-end development cross-domain settings in Chrome