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.
 
         
                                         
                                         
                                         
                                        ![Interactive visualization of a graph in python [closed]](https://www.devze.com/res/2023/04-10/09/92d32fe8c0d22fb96bd6f6e8b7d1f457.gif) 
                                         
                                         
                                         
                                         加载中,请稍侯......
 加载中,请稍侯......
      
精彩评论