views:

176

answers:

2

I'm not sure how to modify the CustomRules.js file to only show requests for a certain domain.

Does anyone know how to accomplish this?

+2  A: 

edit

Turns out it is quite easy; edit OnBeforeRequest to add:

if (!oSession.HostnameIs("www.google.com")) {oSession["ui-hide"] = "yup";}

filters to google, for example.


(original answer) I honestly don't know if this is something that Fiddler has built in (I've never tried), but it is certainly something that Wireshark will do pretty easily - of course, you get different data (in particular for SSL) - so YMMV.

Marc Gravell
+2  A: 

The Fiddler site has a cookbook of a whole bunch of things that you can do with CustomRules.js, including how to do exactly this :)

Simon Lieschke
Yup, also please keep in mind that you can use the Filters tab in current versions of Fiddler for the same purpose.
EricLaw -MSFT-