Disable Right Click & Screenshots

Discussion in 'HTML & Website Design' started by theultimatepublishing, Aug 22, 2006.

  1. #1
    Is there anyway I can disable right clicks & screenshots on my html web page?
     
    theultimatepublishing, Aug 22, 2006 IP
  2. kk5st

    kk5st Prominent Member

    Messages:
    3,497
    Likes Received:
    376
    Best Answers:
    29
    Trophy Points:
    335
    #2
    None that work. Oh, wait! If you don't publish, no one can screen-cap it or right click. :)

    cheers,

    gary
     
    kk5st, Aug 22, 2006 IP
  3. Gordaen

    Gordaen Peon

    Messages:
    277
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    0
    #3
    You can disable right-clicks, which is just going to annoy your visitors. You can't truly protect your source, if that's your goal. If you are trying to protect your images, a water-mark is the best option. They can easily be generated with PHP's GD library. There is no way to prevent someone from taking a screenshot of your page.
     
    Gordaen, Aug 22, 2006 IP
  4. jestep

    jestep Prominent Member

    Messages:
    3,659
    Likes Received:
    215
    Best Answers:
    19
    Trophy Points:
    330
    #4
    I agree to watermark your images. Use at least an invisible digital watermark, and a visible one where appropriate.

    Don't disable the right click. It does way more harm than good as far as usability goes. You can also make your images the background of divisions or other objects. Makes them much more difficult to download.
     
    jestep, Aug 22, 2006 IP
  5. Phynder

    Phynder Well-Known Member

    Messages:
    2,603
    Likes Received:
    145
    Best Answers:
    0
    Trophy Points:
    178
    #5
    That is the worst thing you can do to a visitor - please - please - don't do disable the right click!
     
    Phynder, Aug 22, 2006 IP
  6. theultimatepublishing

    theultimatepublishing Peon

    Messages:
    207
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Thanks for your comments, it's actually for my legal information, not my main content or sales pages.

    Should I still disable right click?
     
    theultimatepublishing, Aug 22, 2006 IP
  7. Phynder

    Phynder Well-Known Member

    Messages:
    2,603
    Likes Received:
    145
    Best Answers:
    0
    Trophy Points:
    178
    #7
    I am not a lawyer, so I can't answer from a legal perspective - but why would that be something that you would want to disable the right-click for? Is there a good legal reason? If so - then do it - but it is just a usability nightmare.
     
    Phynder, Aug 22, 2006 IP
  8. theultimatepublishing

    theultimatepublishing Peon

    Messages:
    207
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #8
    I noticed that many people disable right click on their legal information pages, so I think it's a good idea.

    I won't disable right click on other pages though.
     
    theultimatepublishing, Aug 22, 2006 IP
  9. Phynder

    Phynder Well-Known Member

    Messages:
    2,603
    Likes Received:
    145
    Best Answers:
    0
    Trophy Points:
    178
    #9
    As far as I know - I can still can still go to "View->Page Source" and copy paste from there, so I am not sure what that will do for you.

    It kind of makes me giggle, because you dealing in public domain information.
     
    Phynder, Aug 22, 2006 IP
  10. wd_2k6

    wd_2k6 Peon

    Messages:
    1,740
    Likes Received:
    54
    Best Answers:
    0
    Trophy Points:
    0
    #10
    Yes i recently made a similar topic to this, i wouldn't really reccomend disabling the right-click but on the legal pages i believe this should be no problem.
    As for protecting images the helpful users here guided me towards, not putting the picture up at all, but if need be just digitally watermark the images. There is no way at all whatsoever of protecting your image from the user. However there are measures you can take to slow the user down, just add a transparent gif ontop of the image, this should prevent most basic users from stealing your images anyway.
     
    wd_2k6, Aug 23, 2006 IP
  11. rooneydavid

    rooneydavid Guest

    Messages:
    67
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #11
    This is a good no right click for IE: onContextMenu="return false;" onSelectStart="return false;" onDrag="return false;" stick it in your <body> tag
     
    rooneydavid, Aug 23, 2006 IP
  12. Gordaen

    Gordaen Peon

    Messages:
    277
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    0
    #12
    What kind of "legal page" do you mean? Like a TOS? If so, why don't you want people to be able to access it?

    Utimately, the content is able to be taken by your users. It's only a matter of how difficult (and thus, how much more inaccessible your site becomes) you make it. For instance, you can disable right-clicking with JavaScript, but that might annoy someone who wants to right click to reload, bookmark, open in new window etc. and it doesn't stop anyone from viewing your source (either through the main menu, via disabling JS, via the cache, etc.). You can make it all a picture which means they can't copy and paste the text, but they can grab the picture. Then you end up killing accessibility for text readers.
     
    Gordaen, Aug 23, 2006 IP
  13. Greenthorn

    Greenthorn Guest

    Messages:
    59
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #13
    I have put images as the background image of a table before. People can't right click and save, which may deter most of your visitors right there. But they can always view your code and find the image url and get it that way.
     
    Greenthorn, Aug 23, 2006 IP
  14. abcdefGARY

    abcdefGARY Well-Known Member

    Messages:
    665
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    110
    #14
    I found a way to override the disable right click. If you right click and immediately press enter right after you click, it will show up a menu.

    haha anyways off topic. the only way you can protect the images (that i can think of) is by creating your website in flash.

    otherwise there is no other way.
     
    abcdefGARY, Aug 23, 2006 IP
  15. alexisthemovie

    alexisthemovie Peon

    Messages:
    698
    Likes Received:
    22
    Best Answers:
    0
    Trophy Points:
    0
    #15
    or just use the handy firefox developer's toolbar
     
    alexisthemovie, Aug 23, 2006 IP
  16. rooneydavid

    rooneydavid Guest

    Messages:
    67
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #16
    Hey did you ever think of sticking a transparent spacer above the image in a layer. When the user right clicks and saves the image, all they are going to get is a spacer!
     
    rooneydavid, Aug 24, 2006 IP