标签:ddl customize 配置 present omr function stat ini main
Fiddler默认配置中是看不到服务器IP的,接下来简单介绍下在fiddler上也能够看到请求的服务器IP:
1、Fiddler---》Rules---》Customize Rules ,
2、在CustomRules.js里搜索找到:static function Main() ,
3、添加如下一行脚本:
FiddlerObject.UI.lvSessions.AddBoundColumn("Server IP", 120, "X-HostIP");
完整js代码如下:
1. static function Main() {
2. var today: Date = new Date();
3. FiddlerObject.StatusText = " CustomRules.js was loaded at: " + today;
4. // Uncomment to add a "Server" column containing the response "Server" header, if present
5. FiddlerObject.UI.lvSessions.AddBoundColumn("Server IP", 120, "X-HostIP");
6. }
标签:ddl customize 配置 present omr function stat ini main
原文地址:http://www.cnblogs.com/ljf-hero/p/6443106.html