mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-06 17:16:12 +00:00
15 lines
298 B
HTML
15 lines
298 B
HTML
|
<!DOCTYPE html>
|
||
|
<html>
|
||
|
<head>
|
||
|
<script>
|
||
|
function appendScript(doc) {
|
||
|
var s = doc.createElement("script");
|
||
|
s.textContent = "document.write('executed'); document.close()";
|
||
|
doc.body.appendChild(s);
|
||
|
}
|
||
|
</script>
|
||
|
</head>
|
||
|
<body onload="appendScript(window.document)">
|
||
|
</body>
|
||
|
</html>
|