1

I want to detect copy,cut and contextmenu behavior with jQuery. Here is my code.

  $('pre.text').on('contextmenu cut copy', function(e) {
    e.preventDefault();
    alert('no copy!');
  });

But "cut"event was not working in IE10 and Safari. How can i solve that?

sona
  • 109
  • 1
  • 3
  • 11

0 Answers0