mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
19 lines
308 B
HTML
19 lines
308 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<script>
|
|
|
|
function boom()
|
|
{
|
|
var r = document.createRange();
|
|
r.setEnd(document.createTextNode("x"), 0);
|
|
window.getSelection().addRange(r);
|
|
document.execCommand("inserthtml", false, "y");
|
|
}
|
|
|
|
</script>
|
|
</head>
|
|
|
|
<body contenteditable="true" onload="boom();"></body>
|
|
</html>
|