mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-08 20:47:44 +00:00
8 lines
176 B
HTML
8 lines
176 B
HTML
|
<script>
|
||
|
oSelection = window.getSelection();
|
||
|
oRange = document.createRange();
|
||
|
oSelection.addRange(oRange);
|
||
|
oRange.detach();
|
||
|
oSelection.removeRange(oRange);
|
||
|
</script>
|