No right click code

Posted by rumrunner439, 09-22-2008, 11:07 AM
Ok i saw some code that i though would stop right click stealing of pics and it dont seem to work ?? Is something missing

Posted by Steve_Arm, 09-22-2008, 11:46 AM
Try this:

Posted by Xeentech, 09-22-2008, 12:34 PM
You should know that this isn't much protection for your images these days. Javascript taking over the browser was always annoying, so decent browsers have options like this now.

Posted by cygnusd, 09-22-2008, 12:42 PM
Agree with Xeentech, javascript isn't fullproof. You might be better off doing a server-side control mechanism (referrer + 1-time-cookie etc) to limit downloads of specific mimetypes but this is not also fullproof since the content might have been cached somewhere.

Posted by rumrunner439, 09-22-2008, 01:11 PM
Gee thanks lol i pasted code and nope still can right click www.1159videos.com click the pictures link and youll see Now i posted the code in the header.tpl So i guess to the next step i mean you can use the embed codes on my site i just didnt want them right clicked kinda takes away from the site.

Posted by NEWUSER101, 09-22-2008, 01:26 PM
IMO, disabling Right Click is counterproductive and annoys people. Plus, consider that Downloadhelper FireFox extension generates links for all media files on any site you visit (images / swf / flv / divx / etc...) for you to download without having to click anything on a site.

Posted by rumrunner439, 09-22-2008, 02:05 PM
Well that kinda sux some of the images i wanted protected and only to be able to use the embed code that links back to the site.

Posted by NEWUSER101, 09-22-2008, 02:18 PM
You can look into something like a watermark or a code that will overlay watermark-transparent image over the image itself (like flickr does), so when someone save it, they get an empty file. However, bare in mind that all keyboards comes with "Print Screen" key, which allows you to capture your site as is and copy images. Considering all the codes, extensions, tips and tricks available by a wide variety of browsers, the only way to protect your images is to keep them offline.

Posted by rumrunner439, 09-22-2008, 02:57 PM
Gotcha And its a photoshare site but just trying to keep them with the site maybe the flicker idea is the way to do it. Just dont know where to find some code like that.

Esta resposta foi útil?

 Imprimir este Artigo

Leia também

MySQLDumper Perl Command - It This Correct?

Posted by Greedisgood, 03-26-2007, 10:28 AMHi Guys, I was reading this tutorial:...

FTP Question - Limiting types of Access

Posted by webtender, 03-29-2008, 11:17 PMHello, Is it possible to setup ftp accounts that have...

[php] Need advices on writing a counter script

Posted by kennethinvest, 09-22-2008, 06:04 PMhello, I would like to make a very simple couter...

Command for tranferring files through wget

Posted by ramdak5000, 07-16-2007, 10:24 PMI am trying to move over a client from Verio's hosting...

File Integrity Check

Posted by taydu3000, 01-15-2008, 04:01 AMAre the following file from Cpanel? Cpanel just update...