1.添加"ip地址"
在Fiddler ScriptEditor里面找到 static function Main(),添加如下代码即可显示IP
FiddlerObject.UI.lvSessions.AddBoundColumn("ip地址", 120, "X-HostIP");
2.添加"Duration"
在Fiddler ScriptEditor里面找到Class Handlers,添加如下代码即可显示Duration
function BeginRequestTime(oS: Session)
{
if (oS.Timers != null)
{
return oS.Timers.ClientBeginRequest.ToString();
}
return String.Empty;
}
public static BindUIColumn("Duration")
function CalcTimingCol(oS: Session){
var sResult = String.Empty;
if ((oS.Timers.ServerDoneResponse > oS.Timers.ClientDoneRequest))
{
sResult = (oS.Timers.ServerDoneResponse - oS.Timers.ClientDoneRequest).ToString();
}
return sResult;
}
3.添加"Method"
在Fiddler ScriptEditor里面找到 BindUIColumn ,去掉注释即可显示Method,如下图
4.最终效果