<bdo id='CcQwU'></bdo><ul id='CcQwU'></ul>
<legend id='CcQwU'><style id='CcQwU'><dir id='CcQwU'><q id='CcQwU'></q></dir></style></legend>
      <tfoot id='CcQwU'></tfoot>

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

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

      隐藏/不可见的 Ajax 请求?

      Hidden/invisible Ajax request?(隐藏/不可见的 Ajax 请求?)
      • <legend id='ENnBn'><style id='ENnBn'><dir id='ENnBn'><q id='ENnBn'></q></dir></style></legend>

        <tfoot id='ENnBn'></tfoot>
          <tbody id='ENnBn'></tbody>

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

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

                <bdo id='ENnBn'></bdo><ul id='ENnBn'></ul>

              • 本文介绍了隐藏/不可见的 Ajax 请求?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                问题描述

                是否可以编写和创建无法被 Firefox 中的 Firebug 插件捕获的 JavaScript Ajax 请求?

                Is it possible to write and create a JavaScript Ajax request witch cannot be catched by the Firebug plugin in Firefox?

                我问这个是因为我可以在 Facebook 上看到没有 Ajax 请求正在进行,但是当我从另一个帐户发送消息时,顶部的消息框会添加1 条未读消息"指示器...这怎么可能实现?

                I'm asking this because I can see on Facebook that there are no Ajax request going on, but still when I sent a message from another Account, the message box on the top will add the "1 unread message" indicator... How's even this possible to achive?

                谢谢.

                推荐答案

                Firebug 将标准"AJAX 请求记录到控制台面板;这些是使用 ActiveX/XHR 发起的请求.

                Firebug logs "standard" AJAX requests to the Console panel; these are requests initiated using ActiveX/XHR.

                不过,其他类型的请求也在发生 - CSS 加载、图像、javascript 等.这些请求记录在 Firebug 的网络面板中.另请注意,在控制台中记录的请求出现在网络中.

                Other types of requests are happening, though - CSS loading, images, javascript, etc. These requests are logged in Firebug's Net panel. Note also that requests logged in Console also appear in Net.

                JSONP 是 AJAX 的一种跨域方法,其中将 <script> 标签添加到页面.当请求完成时,脚本标签的加载内容被解析为 JSON.这样做的原因是您欺骗"您的浏览器将请求视为对 javascript 资源的请求而不是 AJAX 请求,从而绕过跨浏览器的安全限制.

                JSONP is a cross-domain method of AJAX in which a <script> tag is added to the page. When the request completes, the loaded contents of the script tag are parsed as JSON. The reason this works is that you are "tricking" your browser into treating the request as a request for a javascript resource rather than an AJAX request, thus skirting cross-browser security restrictions.

                综上所述,JSONP 请求(以及所有其他类型的请求,在 这里 以及所有 <iframe> 请求)都记录在网络面板上,而不是控制台面板上.这不是错误或问题.理解 JSONP 的工作方式,请求只会出现在网络中是合乎逻辑的.

                Putting this all together, JSONP requests (as well as all other types of requests, listed here as well as all <iframe> requests) are logged on the Net panel rather than in the Console panel. This isn't a bug or a problem; understanding the way JSONP works it is logical that the request would only appear in Net.

                这篇关于隐藏/不可见的 Ajax 请求?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                相关文档推荐

                Hover image - display div over it(悬停图像 - 在其上显示 div)
                Install a service handler for URI scheme from webpage(从网页安装 URI 方案的服务处理程序)
                HTML formatted email not showing up at all in Gmail but is in other mail clients(HTML 格式的电子邮件根本不显示在 Gmail 中,但在其他邮件客户端中)
                Newsletter can#39;t hide responsive content on gmail and when I try to forward the e-mail(时事通讯无法隐藏 gmail 上的响应内容以及当我尝试转发电子邮件时)
                how to login to gmail using reqeusts in node js?(如何在节点 js 中使用请求登录 gmail?)
                Gmail not showing correct font(Gmail 没有显示正确的字体)
                <i id='i44dU'><tr id='i44dU'><dt id='i44dU'><q id='i44dU'><span id='i44dU'><b id='i44dU'><form id='i44dU'><ins id='i44dU'></ins><ul id='i44dU'></ul><sub id='i44dU'></sub></form><legend id='i44dU'></legend><bdo id='i44dU'><pre id='i44dU'><center id='i44dU'></center></pre></bdo></b><th id='i44dU'></th></span></q></dt></tr></i><div id='i44dU'><tfoot id='i44dU'></tfoot><dl id='i44dU'><fieldset id='i44dU'></fieldset></dl></div>
                • <tfoot id='i44dU'></tfoot>
                      <bdo id='i44dU'></bdo><ul id='i44dU'></ul>

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

                            <tbody id='i44dU'></tbody>
                          <legend id='i44dU'><style id='i44dU'><dir id='i44dU'><q id='i44dU'></q></dir></style></legend>