Re: Hiding source code

by "Bastyr University WebMaster" <WebMaster(at)bastyr.edu>

 Date:  Fri, 14 Jul 2000 15:39:35 -0700
 To:  <hwg-techniques(at)hwg.org>,
<rebecca(at)thatnicecomputerlady.com>
  todo: View Thread, Original
The following code seems to work pretty well.  Of course it only works on =
browsers that support javascript though.=20

<script language=3D"JavaScript">
<!--

var message=3D"Copyright";
function click(e) {
if (document.all) {
if (event.button=3D=3D2||event.button=3D=3D3) {
alert(message);
return false;
}
}
if (document.layers) {
if (e.which =3D=3D 3) {
alert(message);
return false;
}
}
}
if (document.layers) {
document.captureEvents(Event.MOUSEDOWN);
}
document.onmousedown=3Dclick;
// -->=20
</script>



Doug Dossett
Webmaster
Bastyr University
http://www.bastyr.edu

>>> Rebecca Hines <rebecca(at)thatnicecomputerlady.com> 07/14/00 03:43PM >>>
Hello!
I have a client who wants his source code hidden.  Is there any relaible
way to do this without adversely affecting search engine rankings?

TIA,
Rebecca

--
Rebecca Hines
President
That Nice Computer Lady, Inc.
http://www.thatnicecomputerlady.com=20
rebecca(at)thatnicecomputerlady.com=20
Toll-free 1-877-THT-LADY
Virginia Beach, VA  23452

HWG hwg-techniques mailing list archives, maintained by Webmasters @ IWA