如何捕获 firefox 插件中的所有 http 请求。 我找不到 api 示例。 谁能告诉我 firebug 如何在网络面板上实现它?
我想检测firebug中的所有http请求和响应。
最佳答案
添加Event Listener到gBrowser全局对象,确保将 usecapture 设置为 true。您还可以intercept the response .
关于javascript - 在firefox扩展中监控http请求?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6889216/