<div xmlns="http://www.w3.org/1999/xhtml"> <script type="text/javascript"> function boom() { var r = document.documentElement; r.style.position = "absolute"; r.contentEditable = "true"; r.focus(); r.contentEditable = "false"; r.focus(); r.contentEditable = "true"; document.execCommand("subscript", false, null); r.contentEditable = "false"; } window.addEventListener("load", boom, false); </script> </div>