rem: 'viewHistorySidebar', 'Browser:AddBookmarkAs', 'Tools:Search', 'View:PageInfo', 'Tasks:InspectPage']; 
add: 'viewHistorySidebar', 'Browser:AddBookmarkAs', 'View:PageInfo', 'Tasks:InspectPage']; 
context: function nonBrowserWindowStartup(){  // Disable inappropriate commands / submenus  var disabledItems = ['cmd_newNavigatorTab', 'Browser:SavePage', 'Browser:SendLink',                       'cmd_pageSetup', 'cmd_print', 'cmd_find', 'cmd_findAgain', 'viewToolbarsMenu',                       'cmd_toggleTaskbar', 'viewSidebarMenuMenu', 'Browser:Reload', 'Browser:ReloadSkipCache',                       'viewTextZoomMenu', 'pageStyleMenu', 'charsetMenu', 'View:PageSource', 'View:FullScreen',                       'viewHistorySidebar', 'Browser:AddBookmarkAs', 'Tools:Search', 'View:PageInfo', 'Tasks:InspectPage'];  var element;  for (var id in disabledItems)  {    element = document.getElementById(disabledItems[id]);    if (element)      element.setAttribute("disabled", "true");  }  // If no windows are active (i.e. we're the hidden window), disable the close, minimize  // and zoom menu commands as well  if (window.location.href == "chrome://browser/content/hiddenWindow.xul")  {    var hiddenWindowDisabledItems = ['cmd_close', 'minimizeWindow', 'zoomWindow'];    for (var id in hiddenWindowDisabledItems)    {      element = document.getElementById(hiddenWindowDisabledItems[id]);      if (element)        element.setAttribute("disabled", "true");    }    // also hide the window-list separator    element = document.getElementById("sep-window-list");    element.setAttribute("hidden", "true");  }  gNavigatorBundle = document.getElementById("bundle_browser");  setTimeout(nonBrowserWindowDelayedStartup, 0);}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/338a062c39e4ea2c6db2919aa15b53466b90966e/browser.js/clean/browser/base/content/browser.js