Re: Images don't save
| From: | Jason Wong | Date: | Thu, 18 Apr 2002 19:47:20 +0000 |
| Subject: | Re: Images don't save | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-93592@lists.php.net to get a copy of this message | ||
On Friday 19 April 2002 02:25, Fifield, Mike wrote:
> This is not PHP so does not really belong here but since you asked. Here is
> a java script that will disable right clicking and display a copyright.
>
> <Script language='Javascript'>
> <!--
> var message='Copyright (c) 1999 Sakki.';
> function click(e) {
> if (document.all) {
> if (event.button == 2) {
> alert(message);
> return false;
> }}
> if (document.layers) {
> if (e.which == 3) {
> alert(message);return false;
> }}}
> if (document.layers) {
> document.captureEvents(Event.MOUSEDOWN);
> }
> document.onmousedown=click;
> // --></script>
It's probably a futile measure:
1) The pictures are probably cached on the hard disk somewhere.
2) In IE people can just save the page along with the images.
--
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
/*
Statistics are no substitute for judgement.
-- Henry Clay
*/