This feature is well established and works across many devices and browser versions. It’s been available across browsers since March 2017. * Some parts of this feature may have varying levels of support. Learn moreSee full compatibilityReport feedback Selection オブジェクトは、ユーザーが選択したテキストの範囲、またはキャレットの現在の位置を表します。検査や操作のために Selection オブジェクトを取得するには、 window.getSelection() を呼び出してください。 ユーザーは、左から右(文書順)または右から左(文
