如何检查来自 Chrome 扩展程序的网络流量

Pul*_*rma 8 google-chrome google-chrome-extension

我有一个第三方 chrome 扩展程序,它向网站发送一些请求并获取一些数据。我想分析这些请求的网络流量。我尝试使用 Chrome 调试器,但这不起作用。使用wireshark 之类的工具可能会奏效,但这是一个漫长的过程。是否有任何 chrome 扩展/其他方式来实现这一点?

LeO*_* Li 15

You can monitor an extension in Google Chrome by:

  1. Going to Settings -> Selecting the Extensions Section. OR go to chrome://extensions/ from the Address bar.

  2. Checking the Developer Mode tick box in the top right corner of the page, which will change the display to look like this:在此处输入图片说明

  3. Click on the link next to the extension’s Inspect Views text

  4. 将打开一个开发者工具窗口,您可以通过选择顶部的网络选项卡来监控扩展