Jic*_*hao 5 javascript debugging firefox firebug
如果我加载新网页,网页中旧网页的内容将全部消失.
有没有办法让它在不同的网页上持久存在?
PS:我正在使用Firebug 1.5.4.
提前致谢.
根据扬·奥德瓦尔科的说法:
这是因为 tabWatcher.js 中有以下代码
// xxxHonza, xxxJJB: web application detection. Based on domain check.
var prevDomain = persistedState ? getDomain(persistedState.location) :
null;
var domain = getDomain(location);
if (!persistedState || prevDomain != domain)
persistedState = null;
If following is commented out, it works.
//if (!persistedState || prevDomain != domain)
// persistedState = null;
Run Code Online (Sandbox Code Playgroud)
请注意,如果您使用的是 Windows 7,firebug 扩展目录路径应类似于 'C:\Users\Jichao\AppData\Roaming\Mozilla\Firefox\Profiles\2dlypp9o.default\extensions\firebug@software.joehewitt .com\content\firebug'。