rem: else openTopWin(url); 
add: else if (!isContainer(gHistoryTree, currentIndex)) openTopWin(url); 
context: function OpenURL(aInNewWindow){    var currentIndex = gHistoryTree.currentIndex;         var builder = gHistoryTree.builder.QueryInterface(Components.interfaces.nsIXULTreeBuilder);    var url = builder.getResourceAtIndex(currentIndex).Value;        if (aInNewWindow) {      var count = gHistoryTree.treeBoxObject.view.selection.count;      if (count == 1) {        if (isContainer(gHistoryTree, currentIndex))          openDialog("chrome://communicator/content/history/history.xul",                      "", "chrome,all,dialog=no", url, "newWindow");        else                openDialog( getBrowserURL(), "_blank", "chrome,all,dialog=no", url );      }      else {        var min = new Object();         var max = new Object();        var rangeCount = gHistoryTree.treeBoxObject.view.selection.getRangeCount();        for (var i = 0; i < rangeCount; ++i) {          gHistoryTree.treeBoxObject.view.selection.getRangeAt(i, min, max);          for (var k = max.value; k >= min.value; --k) {            url = gHistoryTree.treeBoxObject.view.getCellText(k, "URL");            window.openDialog(getBrowserURL(), "_blank", "chrome,all,dialog=no", url);          }        }      }    }            else        openTopWin(url);    return true;}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/1f697dbdbd50b2545ed266c69806c9e869bec785/history.js/clean/xpfe/components/history/resources/history.js