Marking Scripts and JSON Files

You can dynamically change the Fiddler Everywhere user interface based on your preferences. You can highlight matched sessions through the Mark Sessions action and set their background and text color. For example, you can highlight all sessions that are returning JavaScript or JSON files.

Creating a "Mark Scripts and JSONs" Rule

Create a "Mark Scripts and JSONs" rule by setting the following actions through the Rules Builder.

  1. Create a matching condition that uses the "When all these conditions are met any number of times" pattern.

  2. Match by a Response Header where the header Content-Type matches the regular expression: javascript|json.

  3. Match by Method of type GET.

  4. Create a Mark Session action and set the preferred background and foreground (text) colors.

This sample Fiddler rule highlights all sessions where the Content-Type header matches the specified values.

Creating "Mark Scripts and JSONs" rule

Once the rule is created, enable the Rules tab, toggle the rule switch, and start capturing traffic.

Activating the "Mark Scripts and JSONs" rule

You can create the rule and then use the Play button to immediately apply the new UI effect to all captured sessions in the Live Traffic grid.

Download a ready-to-use "Mark Scripts and JSONs" rule as a FARX file, which you can import through the Rules toolbar.

See Also