Cross origin requests are only supported for protocol schemes: http, data, chrome,chrome-extension的问

Posted nighttiger

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Cross origin requests are only supported for protocol schemes: http, data, chrome,chrome-extension的问相关的知识,希望对你有一定的参考价值。

Cross origin requests are only supported for protocol schemes: http, data, chrome,chrome-extension的问题

解决方法是:

在 chrome 的快捷方式之后 添加一行命令

 --allow-file-access-from-files

注意:这行命令 与chrome.exe 中间有一个空格

技术分享图片

以上是关于Cross origin requests are only supported for protocol schemes: http, data, chrome,chrome-extension的问的主要内容,如果未能解决你的问题,请参考以下文章

本地数据访问时出现跨域问题Cross origin requests are only supported for protocol schemes: ……

chrome错误Cross origin requests are only supported for protocol schemes: http, data,chrome-extension

nodejs报错 XMLHttpRequest cannot load localhost:3000/test_date/. Cross origin requests are only suppor

Cross origin requests are only supported for protocol schemes: http, data, chrome,chrome-extension的问

Ajax本地跨域问题 Cross origin requests are only supported for HTTP(针对jQuery基础教程第四版第六章)

第134篇:解决浏览器的CORS跨域问题(CORS policy: Cross origin requests are only supported for protocol schemes: htt