<?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 rM(q1) { q1.parentNode.removeChild(q1); } function init2() { rM(document.getElementById("t")); } window.addEventListener("load", init2, false); </script> <foo id="t" datasources="1.rdf" /> </window>