mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-08 20:47:44 +00:00
19 lines
312 B
HTML
19 lines
312 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
|
|
<script>
|
|
|
|
function boom()
|
|
{
|
|
document.execCommand("inserthtml", false, "ABC ");
|
|
document.execCommand("delete", false, null);
|
|
document.execCommand("inserthtml", false, "<style>");
|
|
}
|
|
|
|
</script>
|
|
</head>
|
|
|
|
<body onload="setTimeout(boom, 0);" contenteditable="true"></body>
|
|
</html>
|