实现插件:Keyconfig
http://mozilla.dorando.at/
var tab = gBrowser.mCurrentTab.boxObject.nextSibling; while(tab) { gBrowser.removeTab(tab); tab = gBrowser.mCurrentTab.boxObject.nextSibling; }
firefox"关闭右侧标签页"功能的实现代码
原文:http://www.cnblogs.com/cuixiaochen/p/4351447.html