Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extensi…

Explain the function of static keyword and final keyword in Java in detail>>>

Transferred from: https://www.zhihu.com/question/20948649?sort=created

I recently encountered this problem. It’s useless to add parameters in the traditional shortcut. I don’t know if it has something to do with the chrome version. After a blind experiment, I found that I can do this

On the command line, start Chrome with start, and then add the parameter — Disable web security — user data dir = “E/AAA”

As shown in the picture, my Chrome is in C:: (users, admin, appdata, local, Google, chrome, application). Please find it yourself

Then, the parameter — Disable web security must be used in combination with the parameter — user data dir. Only the parameter of disable is not easy to use. Then there is the problem of the path. This path can use the TMP path in the window. I used an E/AAA to try

This method is effective. You can try it, or you can try to add more parameters, such as

start chrome.exe --allow-file-access-from-files --disable-web-security --user-data-dir="E:/aaa"

Finally, I want to say, don’t ask me why, I don’t know, just like why huluwa became little King Kong

Similar Posts: