add:    if (node.getAttribute("disabled") == "true") return;  
context: function checkForMiddleClick(node, event){  if (event.button == 1) {    /* Execute the node's oncommand.     *     * XXX: we should use node.oncommand(event) once bug 246720 is fixed.     */    var fn = new Function("event", node.getAttribute("oncommand"));    fn.call(node, event);    // If the middle-click was on part of a menu, close the menu.    // (Menus close automatically with left-click but not with middle-click.)    closeMenus(event.target);  }}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/bb4ea4ecd72494ed7050d3cfa45319a615531a45/utilityOverlay.js/buggy/browser/base/content/utilityOverlay.js