FireBug and monitoring JSONP cross-domain requests

浪尽此生 提交于 2019-12-04 02:50:15

I'm not totally familiar with jquery's callback implementation but I assume it's injecting a script tag in the page to make the request. Most of the libraries do.

Thus, the requests should show up on the NET tab in firebug since it's not an XmlHttpRequest but a 'plain' old script tag with a src getting loaded.

If you are using JSONP, the XHR will show up under the js tab of firebug rather than the xhr tab. The code should actually be making a request for a js file which then gets calls the callback method.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!