rem: if (pref && pref.getBoolPref("browser.tabs.opentabfor.middleclick") && ("getBrowser" in window) && getBrowser().localName == "tabbrowser") { 
add: if (pref && pref.getBoolPref("browser.tabs.opentabfor.middleclick")) { 
context:   function openNewTabOrWindow(event, href, sendReferrer)  {    // should we open it in a new tab?    if (pref && pref.getBoolPref("browser.tabs.opentabfor.middleclick") &&        ("getBrowser" in window) && getBrowser().localName == "tabbrowser") {      openNewTabWith(href, sendReferrer, event.shiftKey);      event.preventBubble();      return true;    }    // should we open it in a new window?    if (pref && pref.getBoolPref("middlemouse.openNewWindow")) {      openNewWindowWith(href, sendReferrer);      event.preventBubble();      return true;    }    // let someone else deal with it    return false;  }
meta: 5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/07db80bc13203a0701f8e219dbb38b4a783c9ae6/contentAreaClick.js/buggy/xpfe/communicator/resources/content/contentAreaClick.js