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.

Hjalp dette svar dig?

 Print denne artikel

Læs også

SVN web interface

Posted by fqaisrani, 02-21-2011, 10:17 AMI want to install SVN server on my VPS along with a web...

Seeking a new host

Posted by Bloory, 08-03-2002, 12:57 PMI'm looking for a host with a maximum cost of around £35...

Call Script that Deletes Logs after Stats Run Manually?

Posted by thewird, 01-15-2008, 02:04 AMI'm trying to create a script to archive logs for 7 days...

brand new cpanel issue

Posted by ub3r, 01-15-2008, 12:24 AMWe got this email tonight, thought i'd share along with the...

Cannot open database asp.net

Posted by Faiyaz, 09-22-2008, 03:02 PMCannot open database "DATABASENAME" requested by the login....