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

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

      <tfoot id='NuB9D'></tfoot>

        在 Firefox 上,CORS 请求给出错误“:"(冒号)

        时间:2023-10-13

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

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

            <tbody id='hZTkD'></tbody>

                <legend id='hZTkD'><style id='hZTkD'><dir id='hZTkD'><q id='hZTkD'></q></dir></style></legend>
                  <bdo id='hZTkD'></bdo><ul id='hZTkD'></ul>
                  本文介绍了在 Firefox 上,CORS 请求给出错误“:"(冒号)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

                  问题描述

                  在 Chrome 上,我可以毫无问题地提出跨域请求,但是在 Firefox (Ubuntu 14.04) 上,我收到一个错误,该错误仅包含调用 xmlhttprequest 的行上的冒号.

                  On Chrome, I'm having no troubles making a cross domain request, however on Firefox (Ubuntu 14.04), I get an error that consists only of a colon on the line that calls for the xmlhttprequest.

                  xmlhttp.open("GET", "http://x.x.x.x:xxxx/folder/file.xml", false);
                  

                  错误信息只是:".

                  推荐答案

                  尝试禁用 AdBlock

                  我遇到了一个类似的问题,我的所有 XMLHttpRequest 都在通过,除了一些非常具体的问题,即使是微小的 URL 更改也可以解决问题.我得到的唯一东西是一个冒号 : 在控制台中.最后,我意识到 AdBlockPlus 至少阻止了其中一个请求通过(该请求的 URL 中有横幅").

                  Try Disabling AdBlock

                  I was having a similar issue where all of my XMLHttpRequests were going through except for a few very specific ones where even minor URL changes fixed the problem. And the only thing I was getting was a colon : in the console. In the end I realized that AdBlockPlus was blocking at least one these requests from going through (the request had 'Banners' in the URL).

                  所以我不确定这是否能解决您的问题,但我遇到过多次.

                  So I'm not sure if this would have solved your problem, but I've encountered it multiple times.

                  这篇关于在 Firefox 上,CORS 请求给出错误“:"(冒号)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持html5模板网!

                  上一篇:jquery getResponseHeader 总是返回“未定义"? 下一篇:如何避免在 XMLHttpRequest 调用后自动重新加载页面

                  相关文章

                  最新文章

                • <legend id='xN8Q9'><style id='xN8Q9'><dir id='xN8Q9'><q id='xN8Q9'></q></dir></style></legend>

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

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

                        <bdo id='xN8Q9'></bdo><ul id='xN8Q9'></ul>
                    1. <tfoot id='xN8Q9'></tfoot>