[Xitami] a bit off topic

Johannes Prost xitami@lists.xitami.org
Wed, 26 May 2004 10:33:33 -0600


Hello Michael,

And I'm STARTING with web design, but that is actually all what I want to achive; not to be able to 
save the picture in an "easy" way. Maybe that didn't came properly over. Sorry!
And I don't have to force the viewer to use Jscript to be able to see the web sites. -:)
I just have to find out how to implement that with FP.

Johannes

Am 25 May 2004 um 19:38 hat Michael diLorenzo geschrieben:

> I don't know a WHOLE lot about web design, but I use Dreamweaver to do a 
> lot of mine.  I have found that the following code:
> 
> <div id="Layer1" style="position:absolute; left:8px; top:11px; 
> width:533px; height:146px; z-index:1"><img src="/global/clear.gif" 
> width="400" height="100"></div>
> 
> Will place a gif in on a "layer" overtop of my image.  This gif is just a 
> clear image, the same size as the picture.  I can see through this image, 
> but my right-clicks register on the clear image instead of the picture 
> behind it.  Therefore, any right (or left) click views/saves the clear 
> image.
> 
> I haven't played with it a lot, and it doesn't address the web cache 
> issue, but there ya go.  :-)
> 
> Michael
> 
> On Tue, 25 May 2004 08:40:22 -0600, Johannes Prost <xitami@pastryworld.ca> 
> wrote:
> 
> > Hi Jill,
> >
> > found that info on the net too, and didn't liked the idea, because of 
> > Jscript and the way around
> > it.
> > But thank's for the input.
> >
> > Johannes
> >
> > Am 24 May 2004 um 13:56 hat Jill Douglas geschrieben:
> >
> >> Johannes,
> >>
> >> You can use a simple JScript code that disables the typical visitor from
> >> doing a 'right-click' to save images like this:
> >>
> >> Paste this code into the HEAD of your HTML document
> >>
> >> <HEAD>
> >>
> >> <SCRIPT LANGUAGE="JavaScript1.1">
> >>
> >> <!-- Begin
> >> function right(e) {
> >> if (navigator.appName == 'Netscape' &&
> >> (e.which == 3 || e.which == 2))
> >> return false;
> >> else if (navigator.appName == 'Microsoft Internet Explorer' &&
> >> (event.button == 2 || event.button == 3)) {
> >> alert("Sorry, you do not have permission to right click.");
> >> return false;
> >> }
> >> return true;
> >> }
> >>
> >> document.onmousedown=right;
> >> document.onmouseup=right;
> >> if (document.layers) window.captureEvents(Event.MOUSEDOWN);
> >> if (document.layers) window.captureEvents(Event.MOUSEUP);
> >> window.onmousedown=right;
> >> window.onmouseup=right;
> >> //  End -->
> >> </script>
> >> </HEAD>
> >>
> >>
> >>
> >> BUT.... This script is *NOT* fool-proof. People can disable JavaScript
> >> support in their browser, use a browser which doesn't support 
> >> JavaScript, or
> >> use a browser to link directly to the image that you want to protect. 
> >> Also
> >> the pages and images are normally stored in the user's browser cache 
> >> (for
> >> viewing later whilst offline) - with a little bit of work, the thief 
> >> could
> >> find your image in their cache. It also doesn't stop users accessing the
> >> source of your page from the toolbar menus (View | Page Source). You 
> >> could
> >> attempt to load your page into a window without toolbars - but again 
> >> this
> >> isn't fool-proof. They can access the page directly, with toolbars, 
> >> instead
> >> of opening it without them as you intended. There is a tool for 
> >> Microsoft
> >> Internet Explorer 5 that will encrypt JScript code - but this is only
> >> supported by Microsoft Internet Explorer 5 - and will not allow the 
> >> scripts
> >> to run on any other browser.
> >>
> >> Bearing this in mind, the above script should stop right clicks (and 
> >> left
> >> button held down, followed by a right click) in both Netscape Navigator 
> >> and
> >> Microsoft Internet Explorer. It will not stop users who use a Mac - 
> >> where
> >> the mouse only has one button.
> >>
> >> If this script doesn't do what you require (i.e. protect your images 
> >> and or
> >> your scripts) then don't use it and don't put your images/scripts on the
> >> net. If your livelihood relies on people not copying your images - then 
> >> add
> >> a water mark or "sample" stamp to your images.
> >>
> >> Jill
> >>
> >>
> >>
> >> --
> >> Xitami Users Mailing List -- For Xitami support
> >> To unsubscribe: http://lists.xitami.org/mailman/listinfo/xitami
> >
> >
> >
> > --
> > Xitami Users Mailing List -- For Xitami support
> > To unsubscribe: http://lists.xitami.org/mailman/listinfo/xitami
> 
> 
> 
> -- 
> Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
> 
> 
> --
> Xitami Users Mailing List -- For Xitami support
> To unsubscribe: http://lists.xitami.org/mailman/listinfo/xitami