How to launch html using Chrome at “--allow-file-a

2018-12-31 04:23发布

I have the same situation with HERE

And to solve this problem I have to launch html file using Chrome at "--allow-file-access-from-files" mode. I tried next steps many times, but it doesn't work.

  1. start cmd under windows 7
  2. direct to chrome.exe folder
  3. do this chrome --allow-file-access-from-files file:///C:/test%20-%203.html

7条回答
时光乱了年华
2楼-- · 2018-12-31 05:07

If you are using a mac you can use the following terminal command:

open -a Google\ Chrome --args --allow-file-access-from-files
查看更多
登录 后发表回答