I am looking for a language or class reference for FiddlerScript.
The Fiddler ScriptEditor has a class explorer. But this only contains a very limited amount of documentation.
For example, what methods are available for the Hashtable
or JSON.JSONParseResult
classes? What can I do to get the current system time?
Then language looks a lot like CSharp but is just different enough that using CSharp documentation is frustrating.
A normal class reference of language manual is necessary, and also sufficient to answer all my other questions.
FiddlerScript uses JScript.NET language, which is not so supported and popular these days. There is an online tutorial, and Eric Lawrence also recommends Justin Rogers's Microsoft JScript.NET Programming book as an advanced JScript.NET reference.
Otherwise Understanding FiddlerScript blogpost by Eric Lawrence is a good entry-level tutorial specifically for FiddlerScript, more info is also available in the Debugging with Fiddler book. Using the Fiddler ScriptEditor (installed with Fiddler) also eases FiddlerScript development.
JScript.NET-based extensibility is preserved and enabled by default for more of a compatibility reasons, but for new projects you can use C# as an extensibility language by choosing C# in
Tools -> Options -> Scripting -> Language
in Fiddler options.