rem: if (gURLBar && !gURLBarContainer.parentNode.collapsed && (document.defaultView.getComputedStyle(gURLBarContainer, null).display != "none")) { gURLBar.focus(); gURLBar.select(); 
add: if (gURLBar) { var style = document.defaultView.getComputedStyle(gURLBarContainer, null); if (style.visibility == "visible" && style.display != "none") { gURLBar.focus(); gURLBar.select(); return; } 
context: function openLocation(){  if (gURLBar && !gURLBarContainer.parentNode.collapsed &&      (document.defaultView.getComputedStyle(gURLBarContainer, null).display       != "none")) {    gURLBar.focus();    gURLBar.select();  }#ifdef XP_MACOSX  else if (window.location.href != getBrowserURL()) {    var win = getTopWin();    if (win) {      // If there's an open browser window, it should handle this command      win.focus()      win.openLocation();    }    else {      // If there are no open browser windows, open a new one      win = window.openDialog("chrome://browser/content/", "_blank",                              "chrome,all,dialog=no", "about:blank");      win.addEventListener("load", openLocationCallback, false);    }  }#endif  else    openDialog("chrome://browser/content/openLocation.xul", "_blank",               "chrome,modal,titlebar", window);}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/82a6b0be7e46c4baf125f3199820098a9d6c48d3/browser.js/clean/browser/base/content/browser.js