Welcome to WebmasterWorld Guest from 54.196.244.186

Forum Moderators: not2easy

Message Too Old, No Replies

Disable Script

     
7:26 pm on Mar 7, 2004 (gmt 0)

Junior Member

10+ Year Member

joined:Feb 2, 2004
posts:46
votes: 0


Hi
Could someone reccommend a good disable script or another way to discourage right click theft of images?

Thanks

Paul

10:51 pm on Mar 7, 2004 (gmt 0)

Junior Member

10+ Year Member

joined:Feb 25, 2004
posts:76
votes: 0


well

Sure you can find a good one in javascript.com or in javascriptkit.com...

But i think is enough if you add this function in your head:

function bb() {
document.oncontextmenu = function(){return false}
}

and loads it in the body with an onload

Hope it helps

4:51 pm on Mar 8, 2004 (gmt 0)

Junior Member

10+ Year Member

joined:Feb 19, 2003
posts:136
votes: 0


Just something to think about before doing this. A lot of people use right click to navigate. If those people come across the page and can't use the right click button, they will just leave the page.
5:22 pm on Mar 8, 2004 (gmt 0)

Preferred Member

10+ Year Member

joined:Apr 22, 2003
posts:441
votes: 0


And don't forget that there is no way to stop people from doing a print screen to steal your material.
6:55 pm on Mar 8, 2004 (gmt 0)

Junior Member

10+ Year Member

joined:Feb 19, 2003
posts:136
votes: 0


Or looking at the source code to get the direct paths to the images for that matter.
8:04 pm on Mar 8, 2004 (gmt 0)

Junior Member

10+ Year Member

joined:Jan 23, 2004
posts:43
votes: 0


Or intuiting the image path, if they're really that intent on it.

Instead of trying to kill off right-click, have you looked at watermarking your images, or inserting copyright text in them?

2:42 pm on Mar 9, 2004 (gmt 0)

Junior Member

10+ Year Member

joined:Feb 2, 2004
posts:46
votes: 0


Yes i know you cannot stop them, however i was looking for a disable script i could add my own text into, ie

All images are watermaked and copywrited to "The Widget Company" etc etc etc

I have a couple of scripts but they do not letr me edit the text? maybe because the box the text is in is small?

Paul