soleimanian 0 Report post Posted April 8, 2005 I know that similar issues have been discussed in this forum,and that someone with enough knowledge can get around the "right-click, View Source" issue. But I'd like to know the code to stopping the right click on my images, as hubby is trying to halt some of the stealing of his pictures online. If you could please help me with that code, I'd be really grateful. Share this post Link to post Share on other sites
jipman 0 Report post Posted April 8, 2005 It will and shall be never possibleBecause you let them download the pictures anyway . So they can do with it what you want. But then the picture rippers will laugh at you and still get your pictures. Share this post Link to post Share on other sites
blix1405241486 0 Report post Posted April 8, 2005 I know that similar issues have been discussed in this forum, and that someone with enough knowledge can get around the "right-click, View Source" issue. But I'd like to know the code to stopping the right click on my images, as hubby is trying to halt some of the stealing of his pictures online. If you could please help me with that code, I'd be really grateful. <{POST_SNAPBACK}> Hi,to protectect your website content is no always easy. I found a very intersting website with in depth articles about this. Have a closer look here. I guess there you´ll find the right answer Share this post Link to post Share on other sites
chiiyo 0 Report post Posted April 9, 2005 If they're determined even embedding the picture in a flash file or putting the no-right-click script won't work, they'd just screencap the image. Javascript can be circumvented in many ways. There are so many freeware out there made for the sole purpose of screencapping. My suggestion would still be to put low-res versions of the images online, so that even if they are stolen they are not good enough to be used elsewhere. Besides, the javascript annoys visitors. Most javascript annoys me. Trying to stay away as much as possible from it for my website at all times. But since you asked, might as well provide the answer. Did some googling for you. Try here, here[/url and alternatively, another kind of script (actually it's a html attribute) that does a similar thing, but is much more potent, it blocks the context menu from ever popping up using the mouse or the keyboard (but still doesn't block the humble screen-cap button) here. Again a warning, I can pass you the links of tons of different scripts to prevent people from saving, and still you won't be able to foil most of the efforts, because the moment you put your images online, and just make it visible to other people, you've lost the battle. If they're determined even embedding the picture in a flash file or putting the no-right-click script won't work, they'd just screencap the image. Javascript can be circumvented in many ways. There are so many freeware out there made for the sole purpose of screencapping. My suggestion would still be to put low-res versions of the images online, so that even if they are stolen they are not good enough to be used elsewhere. Besides, the javascript annoys visitors. Most javascript annoys me. Trying to stay away as much as possible from it for my website at all times. But since you asked, might as well provide the answer. Did some googling for you. Try here, here and alternatively, another kind of script (actually it's a html attribute) that does a similar thing, but is much more potent, it blocks the context menu from ever popping up using the mouse or the keyboard (but still doesn't block the humble screen-cap button) [url="http://forums.xisto.com/no_longer_exists/. Again a warning, I can pass you the links of tons of different scripts to prevent people from saving, and still you won't be able to foil most of the efforts, because the moment you put your images online, and just make it visible to other people, you've lost the battle. Notice from microscopic^earthling: Consecutive posts merged. Share this post Link to post Share on other sites
miCRoSCoPiC^eaRthLinG 0 Report post Posted April 9, 2005 This is going to be great fun. While you guys are discussing techniques of turning off the context menu with the help of JavaScript, I'm going to provide you with a single line of code that can turn the context menu BACK ON, for sites that have it disabled... lol.. Just so that you guys know, how WEAK this form of protection is. If you're using firefox, simply create a new bookmark button in your bookmark toolbar or inside the main bookmark organizer (wherever you feel comfortanle) - and in the location URL property of this bookmark, enter the following: java script:void(document.oncontextmenu=null) - for me, I have an extra bookmark button on my toolbar, titled, "Enable Context Menu" with this piece of code as the URL. When you browse to a site which has disallowed the Right-Click Save menu, simply click on this button once and that's it - you'll be able to use the rt-click save again... Have fun Share this post Link to post Share on other sites
redsox58 0 Report post Posted April 9, 2005 I know that also at one point there was a FireFox extension to allow right click on websites. Share this post Link to post Share on other sites
lesmizzie 0 Report post Posted April 14, 2005 Unfortunately there is no real way to prevent people from taking images no matter what you do. People will always find a way to take them illegally. Maybe your husband should put copyright watermarks on the photos/pictures/graphics that he wants to claim as his own, but probably some known how to reconstruct the photo, so I do not really know what to tell you. Share this post Link to post Share on other sites
psx2ml 0 Report post Posted April 16, 2005 <script language=JavaScript><!--var message="no way, jose!";///////////////////////////////////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> There's the html coding for disabling right click. Good luck! Share this post Link to post Share on other sites
Rudy1405241475 0 Report post Posted April 17, 2005 I must agree that this kind of protection is useless against someone who know how to remove it, but it will stop the 60% to 80% of surfers who don’t know how.I would suggest you use water mark text in your photos and still keep them in their highres format, and use the code if you want to. Share this post Link to post Share on other sites
kraizii88z 0 Report post Posted April 17, 2005 I must agree that this kind of protection is useless against someone who know how to remove it, but it will stop the 60% to 80% of surfers who donât know how. I would suggest you use water mark text in your photos and still keep them in their highres format, and use the code if you want to. <{POST_SNAPBACK}> I agree watermarking is a way to stop a percentage of users who don't know how to remove the script, but i have actually reconstructed hundreds of watermarked images that didn't reduce image quality one bit.There is no way to stop images from getting stolen, but if sumone dosen't know the script, then it worked.. Share this post Link to post Share on other sites
nachtgeist03 0 Report post Posted April 17, 2005 Now while this does not prevent them from stealing the image in the first place, this may help prove they stole them. Check this tutorial out. Just simply replace the "hidden" image with your name or url repeated across most of the image, and if the "theif" does not realize what's going on and you find out... easy way to find out if they did in fact steal the picture or not Share this post Link to post Share on other sites