//复制
$("#textA").bind('copy', function() {
$('span').text('copy behaviour detected!')
});
//粘贴
$("#textA").bind('paste', function() {
$('span').text('paste behaviour detected!')
});
//剪切
$("#textA").bind('cut', function() {
$('span').text('cut behaviour detected!')
});
原文地址:https://www.codelovers.cn/article/20180324140556.html