JavaScript 'Image Copy' 不触发复制事件

JavaScript 'Image Copy' does not trigger copy event

我正在处理 JavaScript 的复制事件。纯文本处理如我所料。

但观察到chrome中鼠标左键菜单'image copy'或'copy link address'没有触发复制事件。

有什么方法可以通过复制图片或者复制link地址来触发一些事件吗?

请检查这个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.