您如何监视Google Chrome扩展程序发出的请求?

If you are just curious, or potentially worried, about what a particular Google Chrome extension is up to, how do you monitor the requests that it may be making? Today’s SuperUser Q&A post has the answer to a curious reader’s question.

如果您只是对某个特定的Google Chrome扩展程序有什么好奇或潜在的担忧,如何监视它可能发出的请求? 今天的“超级用户问答”帖子回答了一个好奇的读者的问题。

Today’s Question & Answer session comes to us courtesy of SuperUser—a subdivision of Stack Exchange, a community-driven grouping of Q&A web sites.

今天的“问答”环节由SuperUser提供,它是Stack Exchange的一个分支,该社区是由社区驱动的Q&A网站分组。

问题 (The Question)

SuperUser reader Jian wants to know how to monitor requests made by a Google Chrome extension:

超级用户阅读器Jian希望了解如何监视Google Chrome扩展程序发出的请求:

Is there a way to monitor all the requests made by a Google Chrome extension in the same way that the Network panel monitors all the requests made by a webpage?

有没有一种方法可以监视“ Google Chrome浏览器”扩展程序发出的所有请求,就像“网络”面板监视网页发出的所有请求一样?

How do you monitor requests made by a Google Chrome extension?

您如何监视Google Chrome扩展程序发出的请求?

答案 (The Answer)

SuperUser contributor harrymc has the answer for us:

超级用户贡献者harrymc为我们提供了答案:

You can monitor an extension in Google Chrome by:

您可以通过以下方式监控Google Chrome浏览器中的扩展程序:

1. Going to Settings

1.进入设置

2. Selecting the Extensions Section

2.选择扩展部分

3. Checking the Developer Mode tick box in the top right corner of the page, which will change the display to look like this:

3.选中页面右上角的Developer Mode(开发人员模式)复选框,这将使显示更改如下:

4. Click on the link next to the extension’s “Inspect Views” text

4.单击扩展的“检查视图”文本旁边的链接。

5. A Developer Tools window will open up where you can monitor the extension by selecting the Network Tab at the top

5.将打开“开发人员工具”窗口,您可以在其中通过选择顶部的“网络”选项卡来监视扩展



Have something to add to the explanation? Sound off in the comments. Want to read more answers from other tech-savvy Stack Exchange users? Check out the full discussion thread here.

有什么补充说明吗? 在评论中听起来不错。 是否想从其他精通Stack Exchange的用户那里获得更多答案? 在此处查看完整的讨论线程

翻译自: https://www.howtogeek.com/302558/how-do-you-monitor-requests-made-by-a-google-chrome-extension/