mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-06 12:43:53 +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>
|