How to monitor extension/addon requests?

Evgenii

There is an existing extension (both for Firefox and Chrome) that receives fresh information from a server every minute.

How to analyze how that extension works? I.e. monitor/intercept requests and responses made by it.

Xan

Chrome-specific answer

You can monitor all network traffic from an extension with the usual Dev Tools even if it's a "production" extension and not a locally-loaded development version.

Requests made by the extension can be monitored just like any other page. From chrome://extensions/ with Developer Mode enabled, you should be able to inspect the background page of the extension in question, which will open Dev Tools. If you switch to Network tab, you will see all requests made by the background page, which is the most likely source of such requests, together with server replies.

Since Chrome 20, this even logs WebSocket traffic, though packets exchanged will be appended to the log event that established the connection, not create new entries. You might not see that log entry if you attached Dev Tools later than page load. If you suspect you're missing WebTools traffic for a background page, open Dev Tools and press Ctrl+R to reload the page (effectively restarting the extension) without closing Dev Tools.

It is possible that some other part of the extension makes those requests, for instance a content script running in a normal tab. Then, you need to examine the tab's Dev Tools' Network tab.

本文收集自互联网,转载请注明来源。

如有侵权,请联系[email protected] 删除。

编辑于
0

我来说两句

0条评论
登录后参与评论

相关文章

来自分类Dev

How to chain these two Postman requests

来自分类Dev

How to update the repository with unaccepted pull requests?

来自分类Dev

How to add persistent headers in requests calls?

来自分类Dev

how to save POST/GET requests of a browser session?

来自分类Dev

How to send XML POST requests with Spring RestTemplate?

来自分类Dev

How to map all requests to single controller method in spring?

来自分类常见问题

How to set timeout for http.Get() requests in Golang?

来自分类Dev

S3 How to route all the requests to the same resource?

来自分类Dev

How can I override the set axios override defaults on specific requests?

来自分类Dev

How to block POST requests to a specific URL or text in the Apache access log

来自分类Dev

How to track number of API requests when using Rack Cache

来自分类Dev

等价于Linux的Process Monitor?

来自分类Dev

等价于Linux的Process Monitor?

来自分类Dev

运行Ubuntu No Monitor

来自分类Dev

Dell Monitor无法打开

来自分类Dev

SCOM Monitor不报告

来自分类Dev

ip monitor:响应事件

来自分类Dev

How to profile MVC4 application, send multiple get requests to Web site for testing

来自分类Dev

How does ASP.NET respond to requests? Can HTML be embedded in C# recursively?

来自分类Dev

将Monitor Monitor作为MQ服务对象-如何获取状态

来自分类Dev

使用Monitor :: Enter锁定Monitor :: Exit锁定线程功能

来自分类Dev

了解React Native Perf Monitor

来自分类Dev

Open Hardware Monitor的下载速度

来自分类Dev

Monitor.Enter如何工作?

来自分类Dev

Qt DBus Monitor方法调用

来自分类Dev

试图了解REDIS Monitor命令

来自分类Dev

Ubuntu 11.04 DUAL Monitor问题

来自分类Dev

Ubuntu 12.10 Battery Monitor问题?

来自分类Dev

Ubuntu 11.04 DUAL Monitor问题

Related 相关文章

热门标签

归档