--disable-web-security 是否可以在 Chrome 中使用?

我正在尝试在不更改任何涉及 跨域 AJAX 调用,我想知道是否可以使用 --disable-web-security 了.它似乎不适用于 Chrome 28.

I'm trying to do a simple test without changing any server-side code involving a cross-domain AJAX call, and I was wondering if it's possible to use --disable-web-security anymore. It seems to not work on Chrome 28.

自 Chrome 版本 21 起我就没有使用过它;这个功能被放弃了吗?

I haven't used it since Chrome version 21; has this feature been dropped?

推荐答案

检查你的 windows 任务管理器,确保在运行命令之前杀死所有 chrome 进程.

Check your windows task manager and make sure you kill all chrome processes before running the command.

相关文章