In Firefox, the JavaScript code an interact with the document object to affect HTML structure and CSS style rules as well as define behaviors for given events.
Can the JavaScript code also modify elements of the window object, like menus, not just enable or disable them in a new window? If so, how?