Skip to content

Instantly share code, notes, and snippets.

@jangins101
Created June 15, 2016 11:58
Show Gist options
  • Save jangins101/e671f0e2ca70159864343bcb94c38a07 to your computer and use it in GitHub Desktop.
Save jangins101/e671f0e2ca70159864343bcb94c38a07 to your computer and use it in GitHub Desktop.
Customization script addition for Fiddler to add a rule to hide JS 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 JS requests")
BindPref("fiddlerscript.rules.HideJsRequests")
var m_HideJsRequests: boolean = false;
// Added this in the "OnBeforeResponse" method
if (m_HideJsRequests && oSession.uriContains(".js")) { oSession["ui-hide"] = "true"; }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment