ict.ken.be

 

Fiddler shortcut key to copy request to composer

Related Posts

Categories: Network

To edit and reissue a request you can drag and drop it to the composer, but I couldn't find the shortcut key for this.

Steps to add this functionality behind the 'X' key:
(edit: changed this to X because the new fiddler uses E for breakpoints)

  • Ctrl + r to open fiddler script
  • In OnBoot() add: 
    FiddlerApplication.UI.lvSessions.add_KeyDown(HandleAKey);
  • After this method add: 
    static function HandleAKey(Sender, theKey:KeyEventArgs) { 
        if (theKey.KeyData == Keys.X)
        {
               var oS: Session = FiddlerApplication.UI.GetFirstSelectedSession();
               if (null == oS) return;
               theKey.Handled = theKey.SuppressKeyPress = true;
               FiddlerApplication.DoComposeByCloning(oS);
        }
    }
  • Restart fiddler