mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
19 lines
404 B
HTML
19 lines
404 B
HTML
<!DOCTYPE html>
|
|
<html contenteditable="true">
|
|
<head>
|
|
<script>
|
|
|
|
function boom()
|
|
{
|
|
document.execCommand("inserthtml", false, "b");
|
|
var myrange = document.createRange();
|
|
myrange.selectNodeContents(document.getElementsByTagName("img")[0]);
|
|
window.getSelection().addRange(myrange);
|
|
document.execCommand("strikethrough", false, null);
|
|
}
|
|
|
|
</script>
|
|
</head>
|
|
<body onload="boom();"><img></body>
|
|
</html>
|