Blocking Removal of Items From Weg Page (Full Version)

All Forums >> [Web Development] >> General Web Development



Message


muriel -> Blocking Removal of Items From Weg Page (3/15/2001 20:25:00)

How do you prevent people from being able to copy or save as, from a web site.
Thanks In Advance




muriel -> RE: Blocking Removal of Items From Weg Page (3/15/2001 20:26:00)

Sorry about the weg really ment web.




Gil -> RE: Blocking Removal of Items From Weg Page (3/15/2001 20:33:00)

quote:
Originally posted by muriel:
How do you prevent people from being able to copy or save as, from a web site.
Thanks In Advance

Sorry be the one to tell you, but you can't. If its on the WWW it is available to all.

------------------
Gil Harvey
The Host Factory
Resellers are our speciality





macvsog -> RE: Blocking Removal of Items From Weg Page (3/15/2001 21:55:00)

You might try this java script. It'll keep the rookies off. If you shut off Java then they have access.

Goes in <head> area

<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("Your name here - Copyright 2000 - All Rights Reserved");
return false;
}
return true;
}
document.onmousedown=right;
if (document.layers) window.captureEvents(Event.MOUSEDOWN);
window.onmousedown=right;
// End -->

</script>

In Netscape a right click is rendered useless and in explorer you get a copyright popup screen with right click disabled...

Rod





LB -> RE: Blocking Removal of Items From Weg Page (3/15/2001 22:59:00)

Keep in mind that some people regularly use right click to add to favorites.




muriel -> RE: Blocking Removal of Items From Weg Page (3/15/2001 23:08:00)

Thanks so much! for the pros, cons and infromation. Will have to think this through.
Muriel




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
0.0625