mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-01 14:45:29 +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>
|