Skip to content Skip to sidebar Skip to footer

Access Chrome Clipboard Events With Extension

I want to copy the system clipboard data in my extension; I am able to get the events for copy, cut and paste of my extension, bt I want to get the event when ever system clipboard

Solution 1:

In general, you cannot. There is no event that indicates that SOMEWHERE in the system the clipboard was updated.

An imperfect solution would be to inject content scripts in all pages and listen to events in them. This will only work for copy/cut of the content of the pages themselves.

Post a Comment for "Access Chrome Clipboard Events With Extension"