使用扩展程序可以监控Chrome中的HTTP流量吗? [英] Is it possible to monitor HTTP Traffic in Chrome using an extension?

查看:140
本文介绍了使用扩展程序可以监控Chrome中的HTTP流量吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图编写一个需要观看HTTP流量的Chrome扩展程序,以检查是否请求了特定的域名,然后根据该域名进行其他操作。



我如果可能的话,希望将它保留为一个扩展名,所以不能使用Fiddler等。我知道FireFox可以做到这一点,因为它是在HttpFox中完成的,但我不确定这是否允许在Chrome中使用。



谢谢。

解决方案

也许这就是你要找的:
http://code.google.com/chrome/extensions/trunk/experimental.webRequest.html#examples

I am attempting to write a Chrome extension that needs to watch HTTP traffic to check if a specific domain is requested and then do other stuff based on that.

I want to keep it all as a single extension if possible, so can't use Fiddler etc. I know FireFox can do this as it's done in HttpFox, but am not sure if this is allowed in Chrome.

Thanks.

解决方案

maybe this is what you are looking for: http://code.google.com/chrome/extensions/trunk/experimental.webRequest.html#examples

这篇关于使用扩展程序可以监控Chrome中的HTTP流量吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆