Results 1 to 3 of 3

Thread: Disable right mouse click script

  1. #1
    Join Date
    Aug 2005
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question Disable right mouse click script

    I am new at designing websites, so with that in mind, please excuse my inexperience.

    I have a client who wants to set up a multi-artist gallery. She wants to ensure copyright protection on the images. I have utilized the Disable right mouse click script -

    <script language=JavaScript>
    <!--

    //Disable right mouse click Script
    //By Maximus (maximus@nsimail.com) w/ mods by DynamicDrive
    //For full source code, visit http://www.dynamicdrive.com

    var message="Function Disabled!";

    ///////////////////////////////////
    function clickIE4(){
    if (event.button==2){
    alert(message);
    return false;
    }
    }

    function clickNS4(e){
    if (document.layers||document.getElementById&&!document.all){
    if (e.which==2||e.which==3){
    alert(message);
    return false;
    }
    }
    }

    if (document.layers){
    document.captureEvents(Event.MOUSEDOWN);
    document.onmousedown=clickNS4;
    }
    else if (document.all&&!document.getElementById){
    document.onmousedown=clickIE4;
    }

    document.oncontextmenu=new Function("alert(message);return false")

    // -->
    </script>

    Unfortunately, her son was able to view the source code and have access to images without much trouble.

    Have you any suggestions on how to:
    1. Encrypted the source code for the images?
    2. Place a script on the images to keep each one from being copied?
    3. Any combination or suggestions on what might worK?

  2. #2
    Join Date
    Aug 2004
    Location
    Brighton
    Posts
    1,563
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    The rule online is - if you can see it, you can steal it.

    Watermark your images, it's the only effective way of protecting your work.

    cr3
    A retired member, drop me a line through my site if you'd like to find me!
    cr3ative media | read the stickies

  3. #3
    Join Date
    Aug 2005
    Posts
    15
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I found the best thing to use for all my images is digimarc, it's by far the best way to keep a trace on all your images.

Bookmarks

Posting Permissions

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