Skip to content

Instantly share code, notes, and snippets.

@jangins101
Created June 15, 2016 12:08
Show Gist options
  • Save jangins101/410e074cdbcc15d39ff66929cbe32bc6 to your computer and use it in GitHub Desktop.
Save jangins101/410e074cdbcc15d39ff66929cbe32bc6 to your computer and use it in GitHub Desktop.
Customization script addition for Fiddler to add a rule to hide CSS file requests
// Edit Fiddler rules (Rules => Customize Rules)
// Added this near the top of the script (one of the first things in the the "class Handlers" section)
public static RulesOption("Hide CSS requests")
BindPref("fiddlerscript.rules.HideCssRequests")
var m_HideCssRequests: boolean = false;
// Added this in the "OnBeforeResponse" method
if (m_HideCssRequests && oSession.uriContains(".css")) { oSession["ui-hide"] = "true"; }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment