blob: 96e030fd42fd255f4a3f61d9539666448ec34abb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<script type="text/javascript">
<![CDATA[
function boom()
{
var XUL_NS = "http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul";
var prefs = document.createElementNS(XUL_NS, "preferences");
var textbox = document.createElementNS(XUL_NS, "textbox");
textbox.setAttribute("onchange", "1");
prefs.appendChild(textbox);
prefs.cloneNode(true);
}
]]>
</script>
</head>
<body onload="boom();"></body>
</html>
|