您可以手动更改它们。进入这个目录:
在最近的版本中,扩展名包含在一个扩展名为 XPI 的文件中。只需将其重命名为 ZIP,创建一个目录并将其内容提取到其中。
Linux:
.mozilla/firefox/*****.default/extensions/firebug@software.joehewitt.com/
窗户:
%APPDATA%\Mozilla\Firefox\Profiles\<profile>\extensions\firebug@software.joehewitt.com\
然后修改这个文件(这些是我的重映射设置):
content/firebug/debugger/script/scriptPanel.js(Firebug 2.0)
this.keyListeners =
[
chrome.keyCodeListen("F5", Events.isShift, Obj.bind(this.rerun, this, context), true),
chrome.keyCodeListen("F5", null, Obj.bind(this.resume, this, context), true),
chrome.keyCodeListen("F6", null, Obj.bind(this.stepOver, this, context), true),
chrome.keyCodeListen("F7", null, Obj.bind(this.stepInto, this, context)),
chrome.keyCodeListen("F8", null, Obj.bind(this.stepOut, this, context))
];
content/firebug/js/scriptPanel.js(Firebug 2.0 之前)
this.keyListeners =
[
chrome.keyCodeListen("F5", null, Obj.bind(this.resume, this, context), true),
chrome.keyListen("/", Events.isControl, Obj.bind(this.resume, this, context)),
chrome.keyCodeListen("F6", null, Obj.bind(this.stepOver, this, context), true),
chrome.keyListen("'", Events.isControl, Obj.bind(this.stepOver, this, context)),
chrome.keyCodeListen("F7", null, Obj.bind(this.stepInto, this, context)),
chrome.keyListen(";", Events.isControl, Obj.bind(this.stepInto, this, context)),
chrome.keyCodeListen("F8", null, Obj.bind(this.stepOut, this, context)),
chrome.keyListen(",", Events.isControlShift, Obj.bind(this.stepOut, this, context))
];
在 2.0 之前的版本中,您还应该更改本地化文件,因此工具提示应该是正确的键:
locale/en-US/firebug.properties
firebug.Continue=Continue (F5)
firebug.StepOver=Step Over (F6)
firebug.StepInto=Step Into (F7)
firebug.StepOut=Step Out (F8)
仅此而已。不幸的是,每次更新 Firebug 时都必须这样做。虽然已经有request to allow their customization directly within Firebug。