Event on HTML selection

Posted by jldupont on Stack Overflow See other posts from Stack Overflow or by jldupont
Published on 2010-05-18T18:35:36Z Indexed on 2010/05/18 18:40 UTC
Read the original article Hit count: 302

Filed under:
|
|
|
|

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).

© Stack Overflow or respective owner

Related posts about web

Related posts about html