View Full Version : ??????
Supernerd
March 17th, 2001, 00:39
Anyone know a code that stops peoplestealing pictures from my site. eg. pops up a window when image right clicked on....
Mandrake
March 17th, 2001, 00:46
Nothing that someone who knows what they're doing can't get around in about five seconds. Even if there was, they can just do a screen capture and paste into any graphics program anyway.
Supernerd
March 17th, 2001, 00:54
Can i have the code anyway???
Coolin
March 17th, 2001, 02:12
No right click code is very lame. When someone sees a no-right click thing on a website, they know that the webmaster is amuturish and they will never visit your site again. You also make the user lose all of the stuff that's possible with right click, and there are many. Besides, I, or anyone else for that matter, can get by that thing easily.
Supernerd
March 17th, 2001, 02:30
Ok.....thanks for the advise
Epgs
March 17th, 2001, 07:28
yeah it looks really bad on a site anyway. i would just say they could view the source and take it
Canuckkev
March 17th, 2001, 12:24
Here's something I just thought up. REALLY lame, but if you are that desperate...
Make the image the background in a table or data cell, and then...make a 1X1 invisible gif, and stretch it over the whole table/cell where the picture is. No idea how good the picture would look afterwards, but hey, only a thought.
Nick
March 17th, 2001, 16:16
Originally posted by Canuckkev
Make the image the background in a table or data cell, and then...make a 1X1 invisible gif, and stretch it over the whole table/cell where the picture is. No idea how good the picture would look afterwards, but hey, only a thought.
That works fine. www.thecwl.com used it last time I checked for their enter page. They might still use it, I'm to lazy to look.
JacklePoP
March 18th, 2001, 02:04
Originally posted by Canuckkev
Here's something I just thought up. REALLY lame, but if you are that desperate...
Make the image the background in a table or data cell, and then...make a 1X1 invisible gif, and stretch it over the whole table/cell where the picture is. No idea how good the picture would look afterwards, but hey, only a thought.
hey uh, can you explain the invisible gif thingie? I don't quite get it.
cowax
March 18th, 2001, 07:08
There was a viper site that did something like that... my freind was starting up his own little personal web page about vipers and went to this site to steal some pics, didnt work to well :)
Supernerd:
You could always try one of these scripts:
http://www.dynamicdrive.com/dynamicindex1/contextmenu.htm
^^ IE5 Right click and you get a menu for your site instead of the normal menu
http://www.dynamicdrive.com/dynamicindex1/contextmenu2.htm
^^ IE5.5 Right click and you get even a better lookin menu, with back, forward, refresh, and others, leaving out the "Save picture as...".
Neo_Mitochondrian
March 18th, 2001, 09:26
<script language=JavaScript1.2>
if(window.Event)
document.captureEvents(Event.MOUSEUP);
function nocontextmenu() {
event.cancelBubble=true
event.returnValue=false;
return false;
}
function norightclick(e) {
if(window.Event) {
if(e.which==2||e.which==3)
return false;
} else if(event.button==2||event.button==3) {
event.cancelBubble=true
event.returnValue=false;
return false;
}
}
document.oncontextmenu=nocontextmenu;
document.onmousedown=norightclick;
</script>
This works really good. When you right click, nothing happens.
Canuckkev
March 18th, 2001, 12:46
Originally posted by JacklePoP
hey uh, can you explain the invisible gif thingie? I don't quite get it. [/B]
You can make gif's transparent. Many sites use them. I'm too lazy to make one for you though.
Koolguy
March 18th, 2001, 17:01
http://www.koolplace.com/images/spacer.gif
Powered by vBulletin® Version 4.1.7 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.