javascriptgoogle-chromeactivexclipboardxpcom

ActiveX / XPCOM equivalent for Google Chrome


Is there any way in Google Chrome to access the clipboard (i.e. get and set content of clipboard)? Internet Explorer allows for this by using ActiveX and I got it working in Firefox via XPCOM, I am wondering if there is any way to do this in Chrome?

What I want is to be able to intercept the "paste" events in JavaScript and pre-process the content of the clipboard before it's being pasted into the website's textarea (or RTE in my case).

Thanks for any help


Solution

  • Check out NPAPI