Silly question but googling this yielded no results at all.
How can I reset my customer rules file in Fiddler 2? I've been messing about with it out of curiosity/ experimentation but now I want to reset the rules on it.
The CustomRules.js file begins thusly:
// INTRODUCTION
// This is the FiddlerScript Rules file, which creates some of the menu commands and
// other features of Fiddler. You can edit this file to modify or add new commands.
//
// The original version of this file is named SampleRules.js and it is in the
// \Program Files\Fiddler\ folder. When Fiddler first starts, it creates a copy named
// CustomRules.js inside your \Documents\Fiddler2\Scripts folder.
//
...And then it notes:
// If you make a mistake in editing this file, simply delete the CustomRules.js file
// and restart Fiddler. A fresh copy of the default rules will be created from the
// original sample rules file.
Incidentally, if you Google for reset customrules.js
, these instructions can be found in the #3 result, which points to the official documentation on Fiddler2.com.
And you can add a tools menu option to reset the script as well. Add these in customrules.js.
// Force a manual reload of the script file. Resets all
// RulesOption variables to their defaults.
public static ToolsAction("Reset Script")
function DoManualReload(){
FiddlerObject.ReloadScript();
}
Script samples can be found here.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With