|
Post by Crippled Munchkin on Aug 28, 2005 21:01:45 GMT -5
if you're tired of seeing all of your art stolen, this code should help you...
<script type="text/javascript"> <!--
//No right click on images
function iCapImg(evt){ var evt = (evt)? evt : ((window.event)? event : null); if(evt){ var elem = (evt.target)? evt.target : ((evt.srcElement)? evt.srcElement : null); if(elem){ if(elem.tagName == "IMG" && elem.tagName.toLowerCase() == "img"){ if(evt.cancelBubble){ evt.cancelBubble = true; } alert("Sorry, menu not available"); return false; } } } }
document.oncontextmenu = iCapImg;
//--> </script>
Your files can still be stolen, but this keeps most noobs from stealing them.
|
|
|
Post by ~•XyMiC•~ on Dec 24, 2005 23:53:17 GMT -5
Where d0es it go?
|
|
|
Post by matthew on Dec 25, 2005 4:19:52 GMT -5
That code would normally go in the header.
|
|
|
Post by bethany54 on Dec 25, 2005 7:15:52 GMT -5
The problem with using that code on something like a message board is that often it will effectively cripple the whole board. And it really won't stop any theft anyway. If I wanted to "steal" Mahud's Christmas cat, I wouldn't right click on it, I would quote him to get the url and then load it straight into my photobucket. The no right click script can't tell the difference between a graphic and text. I get frantic pm's from people who have used this script and can no longer quote or copy/paste on their board. If you don't want it stolen, DO NOT PUT IT ON THE INTERNET! Put it on a CD and hide it under the mattress.
Also there have been several times that I wanted to see how something was done so if a no right click script was in place, I used view source to grab whatever I wanted anyway so then you have to find or write a hide source script. It gets very complicated so again I say if you don't want it stolen, DO NOT PUT IT ON THE INTERNET! Put it on a CD and hide it under the mattress. Even with both scripts in place if I still want something, usually all I have to do is switch browsers and it's like the doors are suddenly opened. Firefox ignores most of those scripts as does Opera and a number of lesser known browsers.
What some people do to protect their stuff is to watermark it and if the watermark is big enough or embedded deeply enough most people will leave it alone although I have seen some people using stolen graphics on their websites with huge copyright notices intact from the Animation Factory. And the truth is that most who "steal" artwork aren't doing so knowing that they are stealing. They admire it and want to show it off someplace else. At some of the Christian women boards I used to post at, they had scavenger hunts for graphics. I got banned from one board because I kept telling people that they shouldn't be stealing graphics and/or bandwidth because they had a very hard time with me calling them thieves. Later some of them found their way to my board and I had to delete their memberships and in a few cases bann someone because they continued to steal artwork and bandwidth while bragging about how clever they were. My feelings are that if you are going to steal the graphic, at least have the decency to host it yourself. There are enough free image hosting companies out there that bandwidth theft is so completely unnecesary. Yet I still get people telling me things like Bethany that banner you made for me stopped working. Umm well duh! I told them to host it themselfs and periodically I delete those temp folders from my photobucket. It's gone now and it ain't coming back because I didn't keep a copy of it and I dang sure am not going to recreate it and go through the same thing again in 3 months.
|
|
|
Post by lhw on Dec 25, 2005 8:47:30 GMT -5
You should also know that, for people that really want to steal an image/code, these codes are totally useless. All a person needs to do is click on File / Save Page As... in their browser. Once the HTML is on their hard drive, they can "edit" it to view all codes, and get the direct links to all images.
|
|
|
Post by Michael on Dec 25, 2005 13:41:52 GMT -5
Not only that but there are always other ways to get around codes. I, myself, have done so to get an image... ONLY FOR THE SAKE OF ART THOUGH! lol... Like if I wanted to paint or draw something and it had that 'no right click' deal, I would either use the prt scr/sysrq button and crop it in Paint or something. Either that or select the image but highlighting it and use kep command (ctrl+c). It's actually fairly easy to do so so really, there's no use for the code. *shrugs* But I was wondering how they made that 'no right click' deal. lol...
|
|
|
Post by lostsoul on Dec 26, 2005 16:48:46 GMT -5
.....rite can every one just chill...... yeh i see your points of view and some of these codes dont work at all as a little box comes up and says "no right clicking allowed" you click ok and the right click menu pops up yes youve got a good point Bethany hide it under your matress that made me smile but c'mon those people who steal it wouldn't care less. However if you se someones taken your work tell them about it and if they denie it aslong as you know what youve done thats good however i wouldn't knowmy work isnt worthy to be nicked lol and i hope you all had a good christmas.
|
|