Solve problems before and after the separation of the front end fool cross-domain access

Chrome version 49 after cross-domain settings
after chrome version rose to 49, the cross-domain set strict than before, on the open command after adding --disable-web-security also need to give the new directory user's personal information. As we all know is the need to log in chrome gmail address with a browser, it will generate a directory to store personal information Once logged in, save the user's favorites, history and other personal information. After 49 editions, if you set chrome browser supports cross-domain mode, you need to specify a directory of personal information, and can not use the default directory, estimated to be afraid chrome browser users do not use cross-domain mode disclose their personal information (mainly cookie, many sites login token information is stored in a cookie).
Specific practices:
1. Create a new directory on the computer, for example: C: MyChromeDevUserData
2. target input box in the property page plus --disable-web-security --user-data -dir = C: MyChromeDevUserData, - -user-data-dir value is just the new directory.
3. Click Apply and OK to close the Properties page, and open the chrome browser.
Open again chrome, we found "--disable-web-security" related tips, instructions chrome but also normal cross-domain work.

Guess you like

Origin www.cnblogs.com/jlfw/p/12056417.html