avoiding Print Screen

Results 1 to 3 of 3

Thread: avoiding Print Screen

  1. #1
    Join Date
    Dec 1969

    Default avoiding Print Screen

    i have an html page that user should be able to view only not copy.<BR>In html i can capture the keys and avoid from copying or printing<BR>However how do i avoid him from pressing "Print Screen".<BR>I tried putting some code for catching print screen but doesnt work.<BR>Can n e body help?????

  2. #2
    Join Date
    Dec 1969

    Default Can't do it in Javascript

    Go ahead, toss this code in your body tag:<BR> onKeyPress="alert(event.keyCode);"<BR><BR>Press some numbers, press some letters, then press the Print Screen key. Notice nothing pops up? That&#039;s because JavaScript doesn&#039;t trap this key.

  3. #3
    Join Date
    Dec 1969

    Default RE: avoiding Print Screen

    No matter what you do, someone can always steal your source code and your images. They just have to visit your site, then go into the cache, or disable scripting in their browser or even write a browser program which automatically saves stuff (seems a bit stupid when they can do the above, but it has been done).

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts