rem: else if (pref && pref.GetBoolPref("middlemouse.openNewWindow")) { 
add:  if (pref && pref.GetBoolPref("middlemouse.openNewWindow")) { 
context:   function handleLinkClick(event, href)  {    switch (event.button) {                                         case 0:                                                         // if left button clicked        if (event.metaKey || event.ctrlKey) {                         // and meta or ctrl are down          openNewWindowWith(href);                                    // open link in new window          event.preventBubble();          return true;        }         var saveModifier = true;        if (pref) {          try {            saveModifier = pref.GetBoolPref("ui.key.saveLink.shift");          }          catch(ex) {                      }        }        saveModifier = saveModifier ? event.shiftKey : event.metaKey;                  if (saveModifier) {                                           // if saveModifier is down          savePage(href);                                             // save the link          return true;        }        if (event.altKey)                                             // if alt is down          return true;                                                // do nothing        return false;      case 1:                                                         // if middle button clicked        if (pref && pref.GetBoolPref("browser.tabs.opentabfor.middleclick") && getBrowser &&             getBrowser() && getBrowser().localName == "tabbrowser") {          var t = getBrowser().addTab(href); // open link in new tab          getBrowser().selectedTab = t;          event.preventBubble();          return true;        }        else if (pref && pref.GetBoolPref("middlemouse.openNewWindow")) {            openNewWindowWith(href);                                    // open link in new window          event.preventBubble();          return true;        }        break;    }    return false;  }
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/1379934cbbc53eb0ed9eebcee1389b3fe7ad0f23/contentAreaClick.js/buggy/suite/common/contentAreaClick.js