rem: var copyLocationItem = document.getElementById("miCopyLinkLocation"); 
add: var copyLocationItem = document.getElementById("miCopyLink"); 
context: function buildContextMenu(){  var count = gHistoryTree.treeBoxObject.view.selection.count;  var openItem = document.getElementById("miOpen");  var openItemInNewWindow = document.getElementById("miOpenInNewWindow");  var openItemInNewTab = document.getElementById("miOpenInNewTab");  var bookmarkItem = document.getElementById("miAddBookmark");  var copyLocationItem = document.getElementById("miCopyLinkLocation");  var sep1 = document.getElementById("pre-bookmarks-separator");  var sep2 = document.getElementById("post-bookmarks-separator");  var collapseExpandItem = document.getElementById("miCollapseExpand");  if (count > 1) {    openItem.hidden = true;    openItemInNewWindow.hidden = true;    openItemInNewTab.hidden = true;    bookmarkItem.hidden = true;    copyLocationItem.hidden = true;    sep1.hidden = true;    sep2.hidden = true;    collapseExpandItem.hidden = true;      }  else {    var currentIndex = gHistoryTree.currentIndex;    if ((gHistoryGrouping == "day" || gHistoryGrouping == "dayandsite")        && isContainer(gHistoryTree, currentIndex)) {      var bundle = document.getElementById("historyBundle");          openItem.hidden = true;      openItemInNewWindow.hidden = true;      openItemInNewTab.hidden = true;      bookmarkItem.hidden = true;      copyLocationItem.hidden = true;      sep1.hidden = true;      sep2.hidden = false;      collapseExpandItem.hidden = false;            if (isContainerOpen(gHistoryTree, currentIndex))        collapseExpandItem.setAttribute("label", bundle.getString("collapseLabel"));      else        collapseExpandItem.setAttribute("label", bundle.getString("expandLabel"));    }    else {      openItem.hidden = false;      openItemInNewWindow.hidden = false;      openItemInNewTab.hidden = false;      bookmarkItem.hidden = false;      copyLocationItem.hidden = false;      sep1.hidden = false;      sep2.hidden = false;      collapseExpandItem.hidden = true;    }  }}
meta: 5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/6fb6c0acf87c12ba04e52992b4d3f7f8e96730d9/history.js/buggy/browser/components/history/content/history.js