Movatterモバイル変換


[0]ホーム

URL:


  1. 面向开发者的 Web 技术
  2. HTTP
  3. 指南
  4. 跨源资源共享(CORS)
  5. CORS 错误
  6. 原因:CORS disabled

此页面由社区从英文翻译而来。了解更多并加入 MDN Web Docs 社区。

View in EnglishAlways switch to English

原因:CORS disabled

原因

原因:CORS disabled

哪里错了?

发送了一个需要使用CORS 的请求,但在用户的浏览器中禁用了 CORS。发生这种情况时,用户需要在浏览器中重新打开 CORS。

在 Firefox 中,禁用 CORS 的首选项是content.cors.disable。将此设置为true 将禁用 CORS,因此在这种情况下,CORS 请求将始终因此错误而失败。

参见

Help improve MDN

Learn how to contribute

This page was last modified on byMDN contributors.


[8]ページ先頭

©2009-2025 Movatter.jp