add: if (("enableMenuItem" in console.views[viewId]) && !console.views[viewId].enableMenuItem) { continue; }  
context: function initViews(){    var prefs =        [         ["layoutState.default", DEFAULT_VURLS],         ["saveLayoutOnExit", true]        ];        console.prefManager.addPrefs (prefs);    const ATOM_CTRID = "@mozilla.org/atom-service;1";    const nsIAtomService = Components.interfaces.nsIAtomService;    console.atomService =        Components.classes[ATOM_CTRID].getService(nsIAtomService);    console.viewManager = new ViewManager (console.commandManager,                                           console.mainWindow);    console.viewManager.realizeViews (console.views,                                      console.menuSpecs["popup:showhide"]);    console.views = console.viewManager.views;    for (var viewId in console.views)    {        var toggleCommand = "toggle-" + viewId;        if (toggleCommand in console.commandManager.commands)        {            var entry = [toggleCommand,                    {                        type: "checkbox",                        checkedif: "'currentContent' in console.views." + viewId                    }];                                     console.menuSpecs["popup:showhide"].items.push(entry);        }    }}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/0ce31a79343e29e27a5102a1ca9099fd6e804946/venkman-views.js/buggy/extensions/venkman/resources/content/venkman-views.js