Fiddler Reprint and Editing and Reprint by Composer

I use Fiddler in everyday life. However, for most functions used, such as Reissue and Edit and Reissue from composer , there are no shortcuts. I do not know how to use fiddler script for this. Can anyone point out this solution?

+4
source share
1 answer

Press CTRL + R to open the FiddlerScript editor.

Inside the OnBoot () function, add the following code:

 FiddlerApplication.UI.lvSessions.add_KeyDown(HandleAKey); 

Immediately after the closing bracket for the OnBoot function, add the following code:

 static function HandleAKey(Sender, theKey:KeyEventArgs) { if (theKey.KeyData == Keys.E) { var oS: Session = FiddlerApplication.UI.GetFirstSelectedSession(); if (null == oS) return; theKey.Handled = theKey.SuppressKeyPress = true; FiddlerApplication.DoComposeByCloning(oS); } } 

Save the file. Restart Fiddler. Now, when you press E on any selected session in the list of web sessions, this session will be cloned to send the composer again.

Currently, the FiddlerApplication.UI.actReissueSelected () function is not publicly available, which means that there is no easy way to call this functionality without directly calling FiddlerApplication.oProxy.SendRequest ().

+10
source

All Articles