How to disable copy function for website visitors?

Discussion in 'HTML & Website Design' started by amrel1, Oct 9, 2009.

  1. #1
    Does anybody know how to set up a copy disabling for a website visitors.
    The visitor of the website can not copy the site content by using copy and paste (the mouse and appropriate keyboard function can not be used on the particular website, they do not function).
    I have seen such a site.

    Thank you
     
    amrel1, Oct 9, 2009 IP
  2. MyFuture

    MyFuture Active Member

    Messages:
    257
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    60
    #2
    anything that can viewed in your browser is copyable... you can disable mouse functions and keyboard functions but that will not stop the savy... show me the site you thought was not copyable, I will post what I was able to rip from it ;)
     
    MyFuture, Oct 9, 2009 IP
  3. mentos

    mentos Prominent Member

    Messages:
    15,280
    Likes Received:
    473
    Best Answers:
    0
    Trophy Points:
    330
    #3
    Use the script below so when someone right clicks to save an image off your page, a message will come up letting people know that your information is copyrighted.Copy and paste the following code, and make sure it comes right after your <HEAD> tag:

    
    <script language="JavaScript"> 
    // distributed by http://hypergurl.com <!-- var popup="Sorry, right-click 
    is disabled.\n\nThis Site Copyright ©2000"; function noway(go) { if 
    (document.all) { if (event.button == 2) { alert(popup); return false; } } if (document.layers) 
    { if (go.which == 3) { alert(popup); return false; } } } if (document.layers) 
    { document.captureEvents(Event.MOUSEDOWN); } document.onmousedown=noway; // --> 
    </script>
    
    Code (markup):
     
    mentos, Oct 9, 2009 IP
  4. MyFuture

    MyFuture Active Member

    Messages:
    257
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    60
    #4
    that will only disable mouse events, nothing more
     
    MyFuture, Oct 9, 2009 IP
  5. rirara

    rirara Active Member

    Messages:
    182
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    53
    #5
    You can go round such scripts easily. Just use browser's view source. Don't rely on this.
     
    rirara, Oct 9, 2009 IP
  6. thep

    thep Peon

    Messages:
    45
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Nothing , really true even right click or prevent source code viewing. use other browser or even tools on unix , easily!
     
    thep, Oct 9, 2009 IP
  7. SmallPotatoes

    SmallPotatoes Peon

    Messages:
    1,321
    Likes Received:
    41
    Best Answers:
    0
    Trophy Points:
    0
    #7
    No you haven't; it's not possible. The hokey toy scripts people use for this purpose only keep out the most ignorant n00bs running Internet Explorer.
     
    SmallPotatoes, Oct 13, 2009 IP
  8. Wtfuxbbq

    Wtfuxbbq Peon

    Messages:
    61
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #8
    You wouldn't be able to prevent this. Why would you even want to do this?
     
    Wtfuxbbq, Oct 13, 2009 IP
  9. BtSEO

    BtSEO Peon

    Messages:
    111
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #9
    maybe you were viewing an image file and thought it was text?
     
    BtSEO, Oct 13, 2009 IP
  10. claire0917

    claire0917 Peon

    Messages:
    137
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #10
    Doesn't seem possible..

    unless you convert it to an image, or flash, or pdf.. :p
     
    claire0917, Oct 13, 2009 IP