Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

Javascript 'Image Copy' does not trigger copy event

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?

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

>Solution :

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.

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading