Created
June 15, 2016 12:08
-
-
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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