Or you can unactivate javascript in your browser :-)

> ----------
> From:         BERWART Thierry[SMTP:[EMAIL PROTECTED]]
> Reply To:     A mailing list about Java Server Pages specification and
> reference
> Sent:         Friday, April 27, 2001 8:51 AM
> To:   [EMAIL PROTECTED]
> Subject:      Re: How to hide a user from seeing source code of web
> page...
>
> It's only working with basic users...
> You can go to the "display" menu of your browser and click on "view
> source" ...
>
>
> Thierry
>
>
> -----Message d'origine-----
> De : Prakasan OK [mailto:[EMAIL PROTECTED]]
> Envoyé : vendredi 27 avril 2001 8:34
> À : [EMAIL PROTECTED]
> Objet : Re: How to hide a user from seeing source code of web page...
>
>
> plese try this
>
>
> <script language="JavaScript1.1" type="text/javascript">
>
>       function right(e)
>       {
>
> var msg = "Sorry, you don't have permission to right-click.";
>
> if (navigator.appName == 'Netscape' && e.which == 3)
>           {
>
> alert(msg);
> return false;
>
> }
>
> else
> if (navigator.appName == 'Microsoft Internet Explorer' &&
> event.button==2)
>           {
>
> alert(msg);
>
> return false;
>
> }
>           return true;
>
> }
>
> document.onmousedown = right;
>
>      //-->
>
> </script>
>
>
>
>
> Padmakar Neelapareddy <[EMAIL PROTECTED]>@java.sun.com> on
> 04/27/2001 11:44:01 AM
>
> Please respond to A mailing list about Java Server Pages specification
>       and reference <[EMAIL PROTECTED]>
>
> Sent by:  A mailing list about Java Server Pages specification and
>       reference <[EMAIL PROTECTED]>
>
>
> To:   [EMAIL PROTECTED]
> cc:
> Subject:  How to hide a user from seeing source code of web page...
>
>
> Dear All,
>
> I wanna know if there is any way to restrict the user from seeing
> source
> code of web page
> (i.e by right clicking on page).I.e whenever he gives rigth click on
> page he
> shouldn't see the
> pop-up menu usually comes,instead he should be warned with a
> message/alert
> pop-up window
> mentioning deneid message.
>
> If anybody knows the procedure ,please let me know...(***preferably
> with
> appropriate code****)
>
> Thanx in advance...
>
> Rgds
> padmakar neelapareddy.
>
>
>
>
> The information in this message is confidential and may be legally
> privileged. It is intended solely for the addressee. Access to this
> message by anyone else is unauthorized. If you are not the intended
> recipient, any disclosure, copying, or distribution of the message, or
> any action or omission taken by you in reliance on it, is prohibited
> and may be unlawful. Please immediately contact the sender if you have
> received this message in error.
>
> ========================================================================
> ===
>
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> JSP-INTEREST".
> For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
> DIGEST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>
> ========================================================================
> ===
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> JSP-INTEREST".
> For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
> DIGEST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>
> ==========================================================================
> =
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> JSP-INTEREST".
> For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
> DIGEST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to