add:  if (client.host == "XULrunner") {   var menuBar = document.getElementById("mainmenu"); menuBar.hidden = true; menuBar.hidden = false; } 
context: function createMenus(){    client.menuManager.createMenus(document, "mainmenu");    client.menuManager.createContextMenus(document);    // The menus and the component bar need to be hidden on some hosts.    var winMenu   = document.getElementById("windowMenu");    var tasksMenu = document.getElementById("tasksMenu");    var comBar    = document.getElementById("component-bar");    if (client.host != "Mozilla") {        tasksMenu.parentNode.removeChild(tasksMenu);        winMenu.parentNode.removeChild(winMenu);    } else {        comBar.collapsed = false;    }}
meta: 3298	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/3298/4a06bee1d78ef5ccc0e4e9753324ff40295a8d5b/menus.js/buggy/xul/content/menus.js