Click to See Complete Forum and Search --> : Blocking "rightclick" capabilities


tlacks
04-24-2003, 12:49 PM
Is there some code that I can add to our City's web site to block "righ-click" capabilities of our images and also block the HTML code?

Site URL:

http://cityofopalocka.org/homepage.html

We have an individual that is building a parallel site. Every graphic we load up, every page change we make, he makes a similar change. His site is unauthorized and we must be able to stop this ASAP!

Tony Lacks, tlacks@bellsouth.net

:(

Jona
04-24-2003, 12:54 PM
Sorry, it's not possible. Sue him! :)

Charles
04-24-2003, 01:00 PM
I'm afraid not. The Internet was designed to spread information and not to protect it. You might consider legal action but you might want to follow the law yourself first. See Title II of the Americans With Disabilities Act (http://www.usdoj.gov/crt/ada/pubs/ada.txt), the Section 508 Guidelines (http://www.access-board.gov/sec508/guide/1194.22.htm) and the WAI Guidelines (http://www.w3.org/TR/WCAG10/).

tlacks
04-24-2003, 01:10 PM
If we could just secure our images, this would aleviate the problem. I have been to several graphic intensive sites that have blobked the righ click capability of my browser.

Any help would be GREATLY appreciated!:)

Jona
04-24-2003, 01:14 PM
Hey, try pressing this button on your keyboard: "Print Screen" (it might be abreviated something like, "prtsc" or something). Then open Paint and press, "CTRL + V" If you notice, forget right-clicking... They can still steal the images--one way or another.

havik
04-24-2003, 01:26 PM
there are right click disabled scripts but javascript can be easily turned off so even that won't help you.

Havik

Jona
04-24-2003, 01:29 PM
It's also very easy to just rightclick twice really fast and you get past it.

starrwriter
04-25-2003, 03:42 AM
Originally posted by tlacks
If we could just secure our images, this would aleviate the problem. I have been to several graphic intensive sites that have blobked the righ click capability of my browser.

Any help would be GREATLY appreciated!:)

Put this in the <head> section of your pages that have images:

<SCRIPT LANGUAGE="javascript">
<!-- //
function click(evt) {
if (event.button==2) {
alert('RIGHT CLICK DISABLED');
return false;};
};
document.onmousedown=click;
// -->
</SCRIPT>

AdamGundry
04-25-2003, 05:21 AM
No, don't. Read the rest of the thread. There are so many ways of circumventing that script, it is worthless.

All that script will do is annoy users.

Adam

P.S. Remember, no script can block Print Screen.

Jona
04-25-2003, 10:50 AM
Originally posted by AdamGundry
P.S. Remember, no script can block Print Screen.

So, Adam, you're saying that the Print Screen button isn't detectable? As in, if they press it, return false or whatever? Perhaps not...

AdamGundry
04-25-2003, 11:00 AM
Sorry, perhaps I should elaborate. Even if Javascript could block the button (I don't think it can, but I could be wrong), you can get plenty of image capture programs which can be configured to use any button - I have one as part of a photo editing package I use.

There are also many other ways of obtaining the images, such as the view-source: protocol and the context menu button on some keyboards.

Adam

havik
04-25-2003, 11:03 AM
Also, as previously mentioned, the main problem with using javascript for protection (for anything) is that it can be disabled.

Havik

Jona
04-25-2003, 11:12 AM
LOL, Ok guys, I was just seein' how much you knew... :p (Not really, but I figured you'd have a more than logical answer. :D) Anyways, it seems there are more ways to get through protection, than protection itself! :eek:

AdamGundry
04-25-2003, 11:17 AM
In the battle between weapons and armour, weapons always win.

We should make a page of answers to questions like "How do I stop people stealing my images?", then just refer people to it when a question comes up. We could put it on the RWP site. It would save all this repetition...I feel like that guy from Groundhog Day.

Adam

Jona
04-25-2003, 11:20 AM
Originally posted by AdamGundry
It would save all this repetition...

:D Yup, that's an idea there.. Let's do it! :p Which folder are we gonna use, though? (Let's go to 'ponderous,' shall we?)

havik
04-25-2003, 11:22 AM
Good idea, like a web development FAQ's. But I think thats trending on this forums territory. :confused:

we'll discuss this outside the forum if it is :D

Havik

jeffmott
04-25-2003, 01:42 PM
The idea was already proposed, but nothing became of it.

http://forums.webdeveloper.com/showthread.php?threadid=1678

tlacks
04-26-2003, 11:22 AM
Thank you all for your input and assistance. we will be incorporating the recommended script today. It will help slow down the problem.

In addition, we have included the copyright footer and advised the offending URL host server administrators of the problem.

You are all GREAT!

Tony Lacks:)

Frost
04-27-2003, 03:57 PM
Don't know if anyone else recommended this but do you put your website on the images? At least that way, it's obvious he is jacking it and could help with any legal actions you might take.

Also, the NO RIGHT CLICK could help you against novices but you can just choose VIEW SOURCE in the EDIT menu up at the top of most browsers, along with printscreen and capturing image.

Good luck though.

spufi
04-28-2003, 01:00 PM
The best thing to do is to watermark your images. This way, if somebody wants to steal your images, then they have to have the know how and time to do so. Watermarking is basically using something like your site name and placing it on an image with large enough text to fill most of your image up, but with a low opacity so a person can still see the image while they can notice that it is watermarked.