Is there an extension like Tamperdata for Chrome?

2019-01-16 07:09发布

I need to capture HTTP traffic in the browser. TamperData is an extension to track and modify http/https requests

I am aware of tools like Fiddler, but I am looking for an addon that runs inside the web browser as extension.

4条回答
爷的心禁止访问
2楼-- · 2019-01-16 07:26

You could just use the Chrome Developer Tools (activate them with Ctrl+Shift+I and select the Network tab), if you only need to track requests.

[The following paragraph is now obsolete. Please see delfuego's comment below.]

Modifying arbitrary HTTP traffic in Chrome is impossible, because Google hasn't exposed an API to extension developers yet that would make this possible. But I also doubt Google will expose such a low-level API in the future, because all their present APIs are pretty high-level.

查看更多
劳资没心,怎么记你
3楼-- · 2019-01-16 07:26

2012 update: Chrome versions 17 and newer added more capabilities in this regard. I'm trying a Chrome extension called "Change HTTP Request Header" which by default just does User-Agent, but allows you to enter arbitrary header name/values also.

P.S. the [Charles] proxy idea is of some interest, though Charles is nag-ware (every 30 minutes it pops up a reminder to go pay/register...)

查看更多
Bombasti
4楼-- · 2019-01-16 07:38

You can't modify HTTP requests in Chrome due to API restrictions. Instead, use Charles, an HTTP proxy that captures all traffic at the machine level.

查看更多
Ridiculous、
5楼-- · 2019-01-16 07:45

Fiddler (proxy) is still free and OK. I used it for years.

查看更多
登录 后发表回答