Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
<script>
oSelection = window.getSelection();
oRange = document.createRange();
oSelection.addRange(oRange);
oRange.detach();
oSelection.removeRange(oRange);
</script>