开发者

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 开发者_StackOverflow中文版it's being pasted into the website's textarea (or RTE in my case).

Thanks for any help


Look at FireBreath; you can use it to create a plugin that will work in all browsers (works both as a NPAPI plugin and an ActiveX control)


Check out NPAPI


NPAPI has been deprecated. Use WebAssembly.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜