Skip to content

Instantly share code, notes, and snippets.

@ericlaw1979
Created May 4, 2018 19:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ericlaw1979/3a4cbf0238f1c8e7c3a3671d6cc76380 to your computer and use it in GitHub Desktop.
Save ericlaw1979/3a4cbf0238f1c8e7c3a3671d6cc76380 to your computer and use it in GitHub Desktop.
Many components in Fiddler's UI are not "public", but because of how WinForms works, you can crawl around the window until you find them. This C# FiddlerScript makes the box at the bottom of the AutoResponder tab taller.
[ToolsAction("FixPanelHeight")]
public static void DoFix()
{
foreach (Control c in FiddlerApplication.UI.tabsViews.Controls) {
if (c.Name == "pageResponder") foreach (Control d in (c.Controls[0] as UserControl).Controls)
if (d.Name == "pnlAutoResponders") foreach (Control e in (d as Panel).Controls) {
// FiddlerApplication.Log.LogString(e.Name);
if (e.Name == "gbResponderEditor") {
e.Height=e.Height+120;
e.Top=e.Top-120;
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment