You can't.
Of course there are tricks like using javascript to trap the mouseclick and
opening a new window without menu or toolbar, but there's always an easy way
around: telnet.
You'll never have your HTML/javascript code kept secret!
If it's really important, consider using an applet for your GUI.

Geert 'Darling' Van Damme

> -----Original Message-----
> From: A mailing list about Java Server Pages specification and reference
> [mailto:[EMAIL PROTECTED]]On Behalf Of Vivek Vijapure
> Sent: vrijdag 30 juni 2000 6:33
> To: [EMAIL PROTECTED]
> Subject: JavaScripts : Wanna disable viewing source of the page...
> Importance: High
>
>
> Hey JavaGurus there,
>
>         Can anybody tell me how to disable the mouse click, view source of
> the HTML page in Netscape and IE. I tried to use
> 'document.captureEvents' but it doesn't fit to my purpose. Also the menu
> option 'view/Page Source' should be handled.
>
> -Vivek
>
> ==================================================================
> =========
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> JSP-INTEREST".
> 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".
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