在firfox地址栏输入:about:support,然后进入二配置文件夹
找到Live HTTP headers插件的目录,我的在~/.mozilla/firefox/df0j3s9g.default/extensions/{8f8fe09b-0bd3-4470-bc1b-8cad42b8203a}/chrome
可以看到有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功能就可以使用了。