add:  /* * Open Link as New Tab */ if(document.commandDispatcher.focusedElement && document.commandDispatcher.focusedElement.href) { document.getElementById("link_as_new_tab").hidden=false; } else { document.getElementById("link_as_new_tab").hidden=true; }  
context: function BrowserPopupShowing () {  var selectedRange=getBrowser().selectedBrowser.contentDocument.getSelection();  document.getElementById("item-call").label="Call \""+ selectedRange + " \"";  document.getElementById("item-call").setAttribute("oncommand","DoTestSendCall("+selectedRange+")");    /* Enable Copy */  if(selectedRange.toString()) {    document.getElementById("item-copy").style.display="block";  }    /* Enable Paste - Can paste only if the focused element has a value attribute. :)     THis may affect XHTML nodes. Users may be able to paste things within XML nodes.   */  if(document.commandDispatcher.focusedElement.nodeName=="INPUT"||document.commandDispatcher.focusedElement.nodeName=="TEXTAREA") {    if(DoClipCheckPaste()) {      document.getElementById("item-paste").style.display="block";	    }  }}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/c17797f6f7dd106bf294b6dbf3cabbb77bb6e6f1/minimo.js/buggy/minimo/chrome/content/minimo.js