mirror of
https://github.com/classilla/tenfourfox.git
synced 2025-01-08 07:31:32 +00:00
26 lines
559 B
XML
26 lines
559 B
XML
<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" onload="boom();">
|
|
|
|
<script type="text/javascript">
|
|
|
|
function boom()
|
|
{
|
|
var tree = document.getElementById("tree");
|
|
var tc = document.createElementNS("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul", "treechildren");
|
|
|
|
document.addEventListener("DOMAttrModified", m, false);
|
|
|
|
tree.appendChild(tc);
|
|
|
|
function m()
|
|
{
|
|
document.removeEventListener("DOMAttrModified", m, false);
|
|
tree.removeChild(tc);
|
|
}
|
|
}
|
|
|
|
</script>
|
|
|
|
<tree id="tree" />
|
|
|
|
</window>
|