Is there an event for situations where something is selected on an HTML page like arbitrary text within a span
element? Does such a thing exist or does one need to poll at regular interval & analyze the window.getSelection()
?
I would like to trap this event type from within a browser extension (Chrome).