chrome ajax 访问本地文件

浏览器 启动 参数 

 

"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --allow-file-access-from-files --disable-web-security 

 

---------------------------------------------------------------------------------------------------------------------------------------

 

"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --args --disable-web-security --user-data-dir=~/ChromeUserData/ --allow-file-access-from-files

猜你喜欢

转载自anole1982.iteye.com/blog/2311344