• <tfoot id='NnFqN'></tfoot>

    <i id='NnFqN'><tr id='NnFqN'><dt id='NnFqN'><q id='NnFqN'><span id='NnFqN'><b id='NnFqN'><form id='NnFqN'><ins id='NnFqN'></ins><ul id='NnFqN'></ul><sub id='NnFqN'></sub></form><legend id='NnFqN'></legend><bdo id='NnFqN'><pre id='NnFqN'><center id='NnFqN'></center></pre></bdo></b><th id='NnFqN'></th></span></q></dt></tr></i><div id='NnFqN'><tfoot id='NnFqN'></tfoot><dl id='NnFqN'><fieldset id='NnFqN'></fieldset></dl></div>

      • <bdo id='NnFqN'></bdo><ul id='NnFqN'></ul>
      <legend id='NnFqN'><style id='NnFqN'><dir id='NnFqN'><q id='NnFqN'></q></dir></style></legend>

      1. <small id='NnFqN'></small><noframes id='NnFqN'>

        chrome 扩展上的 Access-Control-Allow-Origin

        时间:2024-08-10
            <tfoot id='DSwqA'></tfoot>
              <bdo id='DSwqA'></bdo><ul id='DSwqA'></ul>

            • <i id='DSwqA'><tr id='DSwqA'><dt id='DSwqA'><q id='DSwqA'><span id='DSwqA'><b id='DSwqA'><form id='DSwqA'><ins id='DSwqA'></ins><ul id='DSwqA'></ul><sub id='DSwqA'></sub></form><legend id='DSwqA'></legend><bdo id='DSwqA'><pre id='DSwqA'><center id='DSwqA'></center></pre></bdo></b><th id='DSwqA'></th></span></q></dt></tr></i><div id='DSwqA'><tfoot id='DSwqA'></tfoot><dl id='DSwqA'><fieldset id='DSwqA'></fieldset></dl></div>
                <tbody id='DSwqA'></tbody>
            • <legend id='DSwqA'><style id='DSwqA'><dir id='DSwqA'><q id='DSwqA'></q></dir></style></legend>

                <small id='DSwqA'></small><noframes id='DSwqA'>

                  本文介绍了chrome 扩展上的 Access-Control-Allow-Origin的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我正在制作一个从我自己的服务器中提取数据的 Chrome 扩展程序.它一次使用大约 4 个 httpRequest,但有时我会收到如下控制台错误:

                  I'm making a Chrome extension which pulls data from my own server. It uses about 4 httpRequests at a time, but sometimes I get console error as follows:

                  XMLHttpRequest 无法加载 http://apps.radiionsm.lv/apps/system/index.php?request=now.Access-Control-Allow-Origin 不允许来源 chrome-extension://egkddfmbidfobhchndockbhjancbpfkd. 对每个人来说有时都不允许.

                  XMLHttpRequest cannot load http://apps.radionsm.lv/apps/system/index.php?request=now. Origin chrome-extension://egkddfmbidfobhchndockbhjancbpfkd is not allowed by Access-Control-Allow-Origin. for everyone sometimes no.

                  如果我发送 header('Access-Control-Allow-Origin: *'); 这会解决它吗?

                  If I send header('Access-Control-Allow-Origin: *'); will this fix it?

                  推荐答案

                  https://developer.chrome.com/extensions/xhr

                  通读该文档并检查您的权限是否已正确设置.

                  Read through that documentation and check that your permissions have been setup correctly.

                  这篇关于chrome 扩展上的 Access-Control-Allow-Origin的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  上一篇:使用 dropzone 向后端发送附加数据 下一篇:如何使用 XMLHttpRequest 通过复制粘贴 javascript 接收 php 图像数据

                  相关文章

                • <small id='QzE9C'></small><noframes id='QzE9C'>

                    <bdo id='QzE9C'></bdo><ul id='QzE9C'></ul>
                  1. <tfoot id='QzE9C'></tfoot>
                    <i id='QzE9C'><tr id='QzE9C'><dt id='QzE9C'><q id='QzE9C'><span id='QzE9C'><b id='QzE9C'><form id='QzE9C'><ins id='QzE9C'></ins><ul id='QzE9C'></ul><sub id='QzE9C'></sub></form><legend id='QzE9C'></legend><bdo id='QzE9C'><pre id='QzE9C'><center id='QzE9C'></center></pre></bdo></b><th id='QzE9C'></th></span></q></dt></tr></i><div id='QzE9C'><tfoot id='QzE9C'></tfoot><dl id='QzE9C'><fieldset id='QzE9C'></fieldset></dl></div>

                      <legend id='QzE9C'><style id='QzE9C'><dir id='QzE9C'><q id='QzE9C'></q></dir></style></legend>