mirror of
https://github.com/classilla/tenfourfox.git
synced 2024-09-10 11:54:40 +00:00
30 lines
403 B
HTML
30 lines
403 B
HTML
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
<head>
|
|
<script>
|
|
|
|
function boom()
|
|
{
|
|
var zz = document.getElementById("d").childNodes[0];
|
|
|
|
zz.parentNode.removeChild(zz);
|
|
|
|
var r = document.createRange();
|
|
r.setStart(zz, 0);
|
|
r.setEnd(zz, 0);
|
|
|
|
try {
|
|
r.insertNode(document.createTextNode('5'));
|
|
} catch (e) {
|
|
}
|
|
}
|
|
|
|
</script>
|
|
</head>
|
|
|
|
<body onload="boom()">
|
|
|
|
<div id="d">3</div>
|
|
|
|
</body>
|
|
</html>
|