rem: return selectedItem && selectedItem.getAttribute("homepageURL") != ""; 
add: return selectedItem.getAttribute("homepageURL") != ""; 
context:   isCommandEnabled: function (aCommand)  {    var selectedItem = gExtensionsView.selectedItem;    if (selectedItem) {      if (selectedItem.getAttribute("downloadURL") != "")        return false;      var opType = selectedItem.getAttribute("opType");    }    switch (aCommand) {    case "cmd_close":      return true;    case "cmd_useTheme":      return selectedItem &&             !selectedItem.disabled &&             opType != OP_NEEDS_UNINSTALL &&             gCurrentTheme != selectedItem.getAttribute("internalName");    case "cmd_options":      return selectedItem &&             !selectedItem.disabled &&             !gApp.inSafeMode &&             opType == OP_NONE &&             selectedItem.getAttribute("optionsURL") != "";    case "cmd_about":      return selectedItem &&             opType != OP_NEEDS_INSTALL;    case "cmd_homepage":      return selectedItem && selectedItem.getAttribute("homepageURL") != "";    case "cmd_uninstall":      if (gWindowState != "extensions") {        // uninstall is never available for the default theme        return (selectedItem &&                 selectedItem.getAttribute("internalName") != gDefaultTheme &&                opType != OP_NEEDS_UNINSTALL &&                selectedItem.getAttribute("locked") != "true" &&                canWriteToLocation(selectedItem));      }      return selectedItem &&             opType != OP_NEEDS_UNINSTALL &&             selectedItem.getAttribute("locked") != "true" &&             canWriteToLocation(selectedItem);    case "cmd_cancelUninstall":      return selectedItem &&             opType == OP_NEEDS_UNINSTALL;    case "cmd_update":      return selectedItem &&             selectedItem.getAttribute("updateable") != "false" &&             !gExtensionsView.hasAttribute("update-check");    case "cmd_update_all":      return gExtensionsView.children.length > 0 &&             !gExtensionsView.hasAttribute("update-check");    case "cmd_reallyEnable":    // controls whether to show Enable or Disable in extensions' context menu      return selectedItem &&             (selectedItem.disabled &&             opType != OP_NEEDS_ENABLE ||             opType == OP_NEEDS_DISABLE);    case "cmd_enable":    //controls wheter the Enable/Disable menuitem is enabled      return selectedItem &&              (opType == OP_NONE ||             opType == OP_NEEDS_DISABLE) &&             selectedItem.getAttribute("satisfiesDependencies") != "false" &&             selectedItem.getAttribute("blocklisted") != "true" &&             selectedItem.getAttribute("compatible") != "false";    case "cmd_disable":      return selectedItem &&            selectedItem.getAttribute("satisfiesDependencies") != "false" &&            selectedItem.getAttribute("blocklisted") != "true" &&            (opType == OP_NONE ||             opType == OP_NEEDS_ENABLE);    case "cmd_movetop":      return selectedItem && (gExtensionsView.children[0] != selectedItem);    case "cmd_moveup":      return selectedItem && (gExtensionsView.children[0] != selectedItem);    case "cmd_movedn":      var children = gExtensionsView.children;      return selectedItem && (children[children.length-1] != selectedItem);#ifndef MOZ_PHOENIX    case "cmd_install":      return true;   #endif    }    return false;  },
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/e70cc1872d3fa7a9c82c261be41c9d7d67b9d270/extensions.js/clean/toolkit/mozapps/extensions/content/extensions.js