Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm using Fiddler to monitor some HTTP traffic. I want to configure it to watch traffic from a few specific domains.

I know that

  • CustomRules.js can be modified to manipulate traffic passing through fiddler

  • oSession.HostnameIs("") can be used to check the host name

  • I want to check the host name in the OnBeforeRequest(oSession: Session) function

What I don't know is the syntax, or property I need to set to ignore or hide sessions.

Any ideas?

share|improve this question
up vote 5 down vote accepted

Manipulate the OnBeforeRequest function using the following syntax:

if (!oSession.HostnameIs("") &&
    oSession["ui-hide"] = "Hiding other domains"; // String value not important

This page on contains some script samples. Search for "Hide requests to domains except those I care about".

share|improve this answer
Perfect, thankyou :) – Sophia Jun 9 '09 at 6:16

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.