⇐ Home

selection-api "Can I use..." widgets

API for accessing selected content of a document, including the window.getSelection() method, as well as the selectstart & selectionchange events on document.

What browser do support selection-api widget

Add this code to your website
<script data-feature="selection-api" defer src="https://cdn.caniusewidgets.com/scripts/overviewtable.js"></script>
to display the following widget

How many browsers globally do support selection-api widget

Add this code to your website
<script data-feature="selection-api" defer src="https://cdn.caniusewidgets.com/scripts/browsersupport.js"></script>
to display the following widget

Is selection-api supported in my browser widget

Add this code to your website
<script data-feature="selection-api" defer src="https://cdn.caniusewidgets.com/scripts/single.js"></script>
to display the following widget
caniusewidgets.com/selection-api
Change caniuse.com to caniusewidgets.com to get to this page

Other interesting features:

Give feedback
All feature data is provided by caniuse.com