<script>
function go() {
window.getSelection().selectAllChildren(document.body.firstChild);
document.createElement("body").aLink = "-moz-mac-menuselect";
window.getSelection().getRangeAt(0).getClientRects();
}
</script>
<body onload=go()>