<?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 n1 = document.getElementsByTagName("textbox")[0]; n1.cloneNode(false); } window.addEventListener("load", init, false); </script> <textbox/> </window>