Chrome加载本地资源

时间:2015-03-12 09:44:25

标签: google-chrome file-access

出于开发原因,我想使用本地JS文件,但遇到"不允许在chrome(版本41.0.2272.89)中加载本地资源" -error。我读了很多threads,但是这个:

"C:\PathTo\Chrome.exe" --allow-file-access-from-files

在我的测试页https://jsfiddle.net/sreL1nge/上对我不起作用,即使是chrome://版本说:

"C:\Program Files (x86)\Google\Chrome\Application\Chrome.exe" --allow-file-access-from-files --flag-switches-begin --flag-switches-end

有人可以尝试在测试页面上为他工作吗?没有设置本地服务器的任何其他方法来访问本地文件?

0 个答案:

没有答案