【发布时间】:2016-07-01 05:27:43
【问题描述】:
今天(2016 年 3 月 15 日)chrome 停止使用 --disable-web-security 标志。我尝试了各种帖子中描述的以下选项: 1) 在 Windows 任务管理器中杀死 Chrome.exe 的所有实例。 2) 添加 --use-data-dir 标志,there is a current post regarding this, but the answers there do not work anymore
这是我正在使用的脚本:
启动 chrome.exe --disable-web-security --allow-running-insecure-content --use-data-dir=c:/temp/chrome_dev
Chrome 在此脚本下打开并显示禁用安全警告,但 localhost 跨域调用仍然失败:
【问题讨论】:
-
我今天也看到了。