Adds a `textselect` event to the DOM that triggers when text is highlighted.