Chrome 49加上--disable-web-security [英] Chrome 49 plus --disable-web-security
问题描述
今天(2016年3月15日),Chrome停止使用--disable-web-security标志。我已经尝试了各种帖子中描述的以下选项:
1)在Windows任务管理器中删除Chrome.exe的所有实例。
2)添加--use-data-dir标志,
code> - 禁用-web的安全。
最后,我找到了解决方案。现在,如果将 - user-data-dir
一起设置,chrome将接受它。
您在使用时会有不同的实例。
试试看:
C:\程序文件(x86)\Google\Chrome\Application \ chrome.exe--disable-web-security --user-data-dir =D:\ chrome
Today (Mar, 15, 2016) chrome stopped working with the --disable-web-security flag. I have tried the following options described in various posts: 1) Kill all instances of Chrome.exe in the windows task manager. 2) add the --use-data-dir flag, there is a current post regarding this, but the answers there do not work anymore
Here is my script I am using:
start chrome.exe --disable-web-security --allow-running-insecure-content --use-data-dir=c:/temp/chrome_dev
Chrome opens under this script with the disable security warning but localhost cross domain calls still fail:
I have solutions that are using --disable-web-security
.
Finally I found solution. Now chrome just will accept it if you set --user-data-dir
together.
You will have different instances when you use it.
Try it:
"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --disable-web-security --user-data-dir="D:\chrome"
这篇关于Chrome 49加上--disable-web-security的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!