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.

آیا این پاسخ به شما کمک کرد؟

 پرینت این مقاله

در همین زمینه

How to retrieve the total number of rows when using LIMIT X, XXX

Posted by yangyang2036, 09-17-2008, 10:09 PMWith php+mysql, $results -> num_rows returns the...

Where can i use command line instead of gui in cpanel?

Posted by sash_007, 03-09-2010, 08:46 AMHello friends, Just wondering whether i can use...

brand new cpanel issue

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

.htaccess redirect all pages to https://www

Posted by LJ Host, 07-17-2007, 01:50 PMHi guys, I'm not to good with htaccess so I need your...

Disk IO performance

Posted by diskio, 03-26-2008, 08:03 PMFrom the Disk I/O performance is it better 1) to have main...