我在日常生活中使用Fiddler。然而,对我来说最常用的功能,比如Reissue and Edit和Reissue from composer,没有任何快捷键。我不知道如何使用小提琴手的脚本。有谁能给出一个解决方案吗?
发布于 2012-12-29 05:24:28
点击CTRL+R打开FiddlerScript编辑器。
在OnBoot()函数中添加以下代码:
FiddlerApplication.UI.lvSessions.add_KeyDown(HandleAKey);紧跟在OnBoot函数的右大括号之后,添加以下代码:
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);
}
}保存文件。重新启动Fiddler。
目前,FiddlerApplication.UI.actReissueSelected()函数不是公共的,这意味着在不直接调用FiddlerApplication.oProxy.SendRequest()的情况下没有简单的方法来调用该功能。
https://stackoverflow.com/questions/14068166
复制相似问题