Google chrome Chrome加载本地资源
出于开发原因,我想使用本地JS文件,但在chrome(版本41.0.2272.89)中遇到“不允许加载本地资源”错误。我读了很多书,但是:Google chrome Chrome加载本地资源,google-chrome,file-access,Google Chrome,File Access,出于开发原因,我想使用本地JS文件,但在chrome(版本41.0.2272.89)中遇到“不允许加载本地资源”错误。我读了很多书,但是: "C:\PathTo\Chrome.exe" --allow-file-access-from-files 在我的测试页面上对我不起作用,即使这样chrome://version 说: "C:\Program Files (x86)\Google\Chrome\Application\Chrome.exe" --allow-file-access-from
"C:\PathTo\Chrome.exe" --allow-file-access-from-files
在我的测试页面上对我不起作用,即使这样chrome://version 说:
"C:\Program Files (x86)\Google\Chrome\Application\Chrome.exe" --allow-file-access-from-files --flag-switches-begin --flag-switches-end
有人能在测试页面上试试它对他是否有效吗?有没有其他方法可以在不设置本地服务器的情况下访问本地文件