修复Firefox的Live HTTP headers无法replay的问题

#   修复Firefox的Live HTTP headers无法replay的问题



1.在firfox地址栏输入:about:support
2.然后进入  配置文件夹(显示文件夹打开)
找到Live HTTP headers插件的目录,我的在~/.mozilla/firefox/df0j3s9g.default/extensions/{8f8fe09b-0bd3-4470-bc1b-8cad42b8203a}/chrome
##如果找不到livehttpheaders.jar文件,就用搜索功能搜索这个文件(livehttpheaders.jar),
可以看到有livehttpheaders.jar这样一个文件,用解压工具打开,进入content目录,找到LiveHTTPReplay.js,解压此文件,并修改。
大概在32行左右,修改:
================================================================
document.getElementById("livehttpheaders.replay.headers").value = args[4];
================================================================
为
================================================================
document.getElementById("livehttpheaders.replay.headers").value = args[4] + "If-Modified-Since: *\n";
================================================================
修改完成后,继续用解压工具打开刚才的livehttpheaders.jar,将修改后的LiveHTTPReplay.js替换livehttpheaders.jar里的LiveHTTPReplay.js
完成后重启Firfox,replay功能就可以使用了。


# xiaoxiao [ 2016-05-02 ]

# Address in this article

# http://www.s7smile.com/local/3

# s7smile.com