<?xml version="1.0"?> <?xml-stylesheet href="chrome://global/skin/" type="text/css"?> <window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"> <script> function init() { var menupopup = document.getElementsByTagName("menupopup")[0]; menupopup.ordinal = null; }; window.addEventListener("load", init, false); </script> <menulist> <menupopup> <menuitem label="Foo"/> </menupopup> </menulist> </window>