小编cod*_*aig的帖子

如何使用 --allow-files-access-from-files 参数在 OS X 上启动 Google Chrome?

我在 OS X (Snow Leopard) 上运行谷歌浏览器 (12.0.742.122),我需要传递“--allow-files-access-from-files”选项,以便我可以测试一些我正在使用的本地 javascript 内容工作。

我尝试使用以下命令行方法:

/Applications/Google\ Chrome.app/Content/MacOS/Google\ Chrome --allow-files-access-from-files

open /Applications/Google\ Chrome.app/Content/MacOS/Google\ Chrome -n --args --allow-files-access-from-files
Run Code Online (Sandbox Code Playgroud)

两者都将启动谷歌浏览器,但它似乎不接受这个论点,因为我仍然无法测试我的本地 Javascript。

有什么建议?

google-chrome osx-snow-leopard macos

8
推荐指数
1
解决办法
2万
查看次数

标签 统计

google-chrome ×1

macos ×1

osx-snow-leopard ×1