2

I am developing a website. I want to clear the clipboard data when the print screen button is pressed while viewing my site by using JavaScript or jQuery. Can anyone please help me to solve this problem. I successfully handled this in Internet Explorer.

Thanks in advance...

BBaysinger
  • 6,614
  • 13
  • 63
  • 132
Arun
  • 1,644
  • 9
  • 25
  • 41

1 Answers1

4

You cannot manipulate the clipboard with javascript due to security reason. But the common way is to use flash...

Read that. It is very complete: http://brooknovak.wordpress.com/2009/07/28/accessing-the-system-clipboard-with-javascript/

Baptiste Pernet
  • 3,318
  • 22
  • 47