Can u hide script from the browser?

2 views
Skip to first unread message

K Victor

unread,
Aug 5, 2005, 4:25:04 AM8/5/05
to Techdot...@googlegroups.com
Hi friends,
 
I want to hide the scripts written in a web form , while the user right clicks the Interner explorer and then clicks the view source option.
 
Can u do it?
 
regards,
victor.k


Start your day with Yahoo! - make it your home page

nandu dhandapani

unread,
Aug 8, 2005, 2:06:16 AM8/8/05
to Techdot...@googlegroups.com

hi Victor,
 
We can hide  [View Source Property] for avoiding the user seeing our script coding on runtime.
u should add  oncontextmenu event in your form & assign return false
 
example:

<form id="Form1" oncontextmenu = "return false" method="post" runat="server" >
 
regards
nandu


Free antispam, antivirus and 1GB to save all your messages
Only in Yahoo! Mail: http://in.mail.yahoo.com

nandu dhandapani

unread,
Aug 8, 2005, 2:15:16 AM8/8/05
to Techdot...@googlegroups.com

hi victor,
i made a blunder mistake u should add oncontextmenu in body tag in ur html coding
example:
<body MS_POSITIONING="GridLayout" oncontextmenu="return false">
 
regards,
nandu
K Victor <vil...@yahoo.co.in> wrote:


Too much spam in your inbox? Yahoo! Mail gives you the best spam protection for FREE!
http://in.mail.yahoo.com

brain...@gmail.com

unread,
Aug 9, 2005, 2:39:03 AM8/9/05
to .NetIndia

K Victor wrote:
> Hi friends,
>
> I want to hide the scripts written in a web form , while the user right clicks the Interner explorer and then clicks the view source option.
>
> Can u do it?
>
> regards,
> victor.k
>
>
> ---------------------------------

> Start your day with Yahoo! - make it your home page


You can encode your scripts using a utility provided by microsoft. Just
google around the web scripten.exe.In that case even if the user gets
hold of ur scripts he/she cannot c the code he would just see junk
text.

regards
KillerDotNet
http://groups-beta.google.com/group/DotNetStarters

nandu dhandapani

unread,
Aug 10, 2005, 10:40:57 AM8/10/05
to Techdot...@googlegroups.com
hi victor,
we can hide our client coding using oncontextmenu attribute in the body tag
ex:
<body oncontextmenu = "return false">
regards
nandu

brain...@gmail.com wrote:


Check out Yahoo! India Rakhi Special for Rakhi shopping, contests and lots more.
http://in.promos.yahoo.com/rakhi/index.html

Reply all
Reply to author
Forward
0 new messages