rem: { if (event.altKey && event.keyCode == KeyEvent.DOM_VK_RETURN) { 
add: { if (event.altKey && event.keyCode == KeyEvent.DOM_VK_RETURN) { 
context: function ctrlNumberTabSelection(event){    if (event.altKey && event.keyCode == KeyEvent.DOM_VK_RETURN) {        // XXXblake Proper fix is to just check whether focus is in the urlbar. However, focus with the autocomplete widget is all    // hacky and broken and there's no way to do that right now. So this just patches it to ensure that alt+enter works when focus    // is on a link.    if (!document.commandDispatcher.focusedElement || document.commandDispatcher.focusedElement.localName.toLowerCase() != "a") {      // Don't let winxp beep on ALT+ENTER, since the URL bar uses it.      event.preventDefault();      return;    }  }#ifdef XP_MACOSX  if (!event.metaKey)#else#ifdef XP_UNIX  if (!event.altKey)#else  if (!event.ctrlKey)#endif#endif    return;  var index = event.charCode - 49;  if (index < 0 || index > 8)    return;  if (index >= gBrowser.tabContainer.childNodes.length)    return;  var oldTab = gBrowser.selectedTab;  var newTab = gBrowser.tabContainer.childNodes[index];  if (newTab != oldTab) {    oldTab.selected = false;    gBrowser.selectedTab = newTab;  }  event.preventDefault();  event.preventBubble();  event.preventCapture();  event.stopPropagation();}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/2fb9feaadc992e3ccd442db789244b253d0427f8/browser.js/buggy/browser/base/content/browser.js