JavaScript 'Image Copy' does not trigger copy event

Viewed 59

I'm handling with JavaScript's copy event. Handling with plain text works as I expected.

But observed that the 'image copy' or 'copy link address' of mouse left click menu does not trigger copy event in chrome.

Is there any way that I could trigger some event by image copy, or copy link address?

1 Answers

Please Check This Link:

Enabling authors to change what is copied by a user, or to make an automated copy of something that was never selected and allowing unrestricted calls to paste information can raise various security concerns.

Some example scenarios include:

A user selects a link and copies it, but a different link is copied to the clipboard. The effect of this can range from an unexpected result on pasting to an attempted "phishing" attack.

Related