In article <tr**********************@amsnews02.chello.com>,
al***********@nospam.com enlightened us with...
Hallo,
Does anyone have a (simple?) javascript code for me to
prevent that people take the photo's of my website while
they use the right mouse button.
I know that there are ways around this and people can
still get the picture, but in that case it is much less easier
and only the handy people can get it then. That already
helps.
Anyone with enough sense to know how to disable javascript can get them.
That covers anyone under 40 and half the people over 40 who know what
javascript is.
Disabling the right mouse button disables other functions. Nothing like
pissing off all your users, eh?
You want to make it hard for people to get them? Cover them with a
spacer gif so right-click->save saves the spacer, not the image (can be
done with CSS or with tables with background image set to your image and
a spacer as the cell content). Then people have to go look up the name
of the image in your code and either get it from your server or their
browser cache. Set no-cache so that the page doesn't cache and protect
the file on your server with .htaccess and it really becomes a pain to
get it. The only way then is to open the file from the cache and save it
under a new name while the browser is open on the current page.
Is it really worth it when all you have to do to make people not want it
is watermark it?
-------------------------------------------------
~kaeli~
Hey, if you got it flaunt it! If you don't, stare
at someone who does. Just don't lick the TV screen,
it leaves streaks.
http://www.ipwebdesign.net/wildAtHeart http://www.ipwebdesign.net/kaelisSpace
-------------------------------------------------