5.50%
3.2-4.10%
BaselineWidely available
This feature is well established and works across many devices and browser versions. It’s been available across browsers since September 2019.
API for accessing selected content of a document, including the window.getSelection() method, as well as the selectstart & selectionchange events on document.