mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-30 05:35:31 +00:00
18 lines
269 B
HTML
18 lines
269 B
HTML
<!DOCTYPE HTML>
|
|
<html>
|
|
<head>
|
|
<script>
|
|
|
|
function boom()
|
|
{
|
|
var weirdScript = document.createElementNS('http://example.com/foo', 'script');
|
|
document.body.appendChild(weirdScript);
|
|
document.body.innerHTML;
|
|
}
|
|
|
|
</script>
|
|
</head>
|
|
<body onload="boom()">
|
|
</body>
|
|
</html>
|