Results 1 to 11 of 11

Thread: How to keep from copy/paste on a webpage

  1. #1
    Join Date
    Aug 2001
    Location
    Michigan
    Posts
    18,335

    How to keep from copy/paste on a webpage

    I've been to some sites where, if you right click on it, a message box will pop up saying that the feature has been disabled and the information is copyrighted.

    I need to do this to some pages here at work, but can't seem to find out how to do it. I've been practicing with Kia's site, but nothing's working.

    I'm using Dreamweaver MX 2004.

    Any input would be most appreciated. Thanks!
    ~Kimmy, Zam, Logan, Raptor, Nimrod, Mei, Jasper, Esme, & Lucy Inara
    RIP Kia, Chipper, Morla, & June

  2. #2
    Join Date
    Oct 2001
    Location
    Iowa!
    Posts
    13,130
    When that happens, all you have to do is go to the top left of your browser and click on view, then source or page source. Then you just have to hunt on where they have it. You can copy/paste to your computer and then save image as yours. However, I think this is sort of stealing but I've done it on a few rare occasions. Hope this helps.

    9/3/13
    I did the right thing by setting you free
    But the pain is very deep.
    If only I could turn back time, forever, you I'd keep.
    I miss you


    I hear you whimper in your sleep
    I gently pet you and say, no bad dreams
    It will be alright, to my dog as dark as night.

    Fur as dark as the night.
    Join me on this flight.
    Paws of love that follow me.
    In my heart you'll forever be.
    [/SIZE]



    How I wish I could hold you near.
    Turn back time to make it so.
    Hug you close and never let go.
    11/12/06




  3. #3
    Join Date
    Aug 2001
    Location
    Michigan
    Posts
    18,335
    I was afraid that might happen. :\

    Well... I'll let my boss know but if they still want me to have a message box pop up if someone tries to copy and paste, I'd still like to know how it's done.

    They might go on the hope that many rely on copy/paste and don't know about view/source.

    See this site for an example:

    Pet of the Week

    If you right click on it, you'll get a message box. When I go to View > Source on any page nothing happens. No one in IT is sure why. So I can't test if you can see the source or not.

    I need to know how to get that message box! help!
    ~Kimmy, Zam, Logan, Raptor, Nimrod, Mei, Jasper, Esme, & Lucy Inara
    RIP Kia, Chipper, Morla, & June

  4. #4
    Former User Guest
    Kimmy, I'll ask my husband, he's done it before

    Can you PM me your email addy again? I'll send the code!

  5. #5
    Join Date
    Oct 2001
    Location
    Iowa!
    Posts
    13,130
    Here's the code. Please leave everything in it. Take out the spaces betwee < and > And I could view the source on that page, just so you'll know
    < !--

    // please keep these lines on when you copy the source

    // made by: Nicolas - http://www.javascript-page.com



    var mymessage = "Sorry, but you can't view the source of this page.";



    function rtclickcheck(keyp){

    if (navigator.appName == "Netscape" && keyp.which == 3) {

    alert(mymessage);

    return false;

    }



    if (navigator.appVersion.indexOf("MSIE") != -1 && event.button == 2) {

    alert(mymessage);

    return false;

    }

    }



    document.onmousedown = rtclickcheck

    //-->

    < /script >

    9/3/13
    I did the right thing by setting you free
    But the pain is very deep.
    If only I could turn back time, forever, you I'd keep.
    I miss you


    I hear you whimper in your sleep
    I gently pet you and say, no bad dreams
    It will be alright, to my dog as dark as night.

    Fur as dark as the night.
    Join me on this flight.
    Paws of love that follow me.
    In my heart you'll forever be.
    [/SIZE]



    How I wish I could hold you near.
    Turn back time to make it so.
    Hug you close and never let go.
    11/12/06




  6. #6
    Join Date
    Aug 2001
    Location
    Michigan
    Posts
    18,335
    Thanks everyone!
    ~Kimmy, Zam, Logan, Raptor, Nimrod, Mei, Jasper, Esme, & Lucy Inara
    RIP Kia, Chipper, Morla, & June

  7. #7
    I have a better one, but just to let you know, these run on Javascript and all someone has to do is disable Javascript for that code not to work. There are SEVERAL ways to go about viewing the source. If you are worried that people will steal images, this is what I do. I put a clear image over the real image so that when people right click and want to save the image they save a clear JPG instead of the actual photo.

    Just change the part that talks about my site to your own words.


    Fuzzies for Furries
    Northwest Opossum Society
    Zoology Major
    2 Virginia Opossums, 6 cats, 4 bearded dragons, 1 iguana, 1 red foot tortoise, 1 tripod chihuahua, 5 mice, dubia and hissing cockroaches as well as other misc animals that wander in and out of my home.

  8. #8
    Yes Mickey's site has the code too! It's very helpful I think.

    Someone I know from another messageboard submitted her picture to a dog breed info website. Somebody stole the pic and used it to advertise for their puppymill It took many angry calls from the owner before the picture finally got taken down. Imagine that

    “I like too many things and get all confused and hung-up running
    from one falling star to another till i drop. This is the night, what it does to you.
    I had nothing to offer anybody except my own confusion.”
    - Jack Kerouac; On The Road

  9. #9
    Join Date
    Aug 2001
    Location
    Michigan
    Posts
    18,335
    I'm not worried about people taking Kia's pic. If they want to say she's theirs, I have proof she's not.

    No, I was asked to disable the 'right-click' function by my boss. Our information is copyrighted, but disabling 'right-click' will probably deter most people from taking information.
    ~Kimmy, Zam, Logan, Raptor, Nimrod, Mei, Jasper, Esme, & Lucy Inara
    RIP Kia, Chipper, Morla, & June

  10. #10
    There is an easier way to get around the disabled right click than viewing the source. It works on most pages too. *S*
    I think for the most part though, that it will deter most people, unless they really want the pic for some reason, and if they want it that badly, then they'll probably find a way to get it no matter what.

  11. #11
    Join Date
    Sep 2002
    Location
    WI
    Posts
    956
    As people have said, having a no right-click script will not deter the folks who really want the picture - there are so many ways around it.

    But a bigger reason to really consider not using it is that a lot of people use the right-click legitimately (for example, to go "back" on a webpage) that you might end up making people mad by using it. I prefer to add text (like a © mark and your business name) to the photo instead of disabling right-clicks.

Similar Threads

  1. Replies: 2
    Last Post: 01-05-2007, 11:08 AM
  2. copy cat?
    By RICHARD in forum Cat General
    Replies: 14
    Last Post: 10-13-2006, 09:14 PM
  3. Glue and Paste
    By Edwina's Secretary in forum Cat General
    Replies: 12
    Last Post: 12-15-2005, 09:41 AM
  4. Ivermectin paste ??
    By tikeyas_mom in forum Pet General
    Replies: 5
    Last Post: 11-23-2003, 08:34 PM
  5. copy cat
    By fairlady68 in forum Cat Behavior
    Replies: 10
    Last Post: 08-26-2003, 12:58 PM

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
  •  

Copyright © 2001-2013 Pet of the Day.com