mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-05 16:46:26 +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>
|