Created
June 15, 2016 11:58
-
-
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
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 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