when someone does a "view source?" is it possible to put like some text in the editor when they try to view source, or just not allow it...?
you cant hide the source of the client side HTML, if you are writing in ASP, or some other serverside language, the client never see's these codes, they only see the HTML (or other) responses that get sent back to the client, in ASP, the Active Server Page Code, is prcoessed before it reaches the client. <p>Karl<br><a href=mailto:kb244@kb244.com>kb244@kb244.com</a><br><a href=
hehe, well the browser can't render your HTML unless you send it the HTML. Once the browser receives the HTML it can do what ever it want's to with it, you can't dictate what the browser can or can't do, that just wouldn't make any sense.
A point to note is that most browsers don't supply any method to view javascript code that was linked using client side include <script></script> tags. So you can, sort of, hide your client side Javascript. Sort of because if I want to I can tap directly into the TCP/IP stream and obtain your source that way if I really wanted to. However I doubt that anyone wants your 'Web' code that much.
"But, that's just my opinion... I could be wrong".
-pete
The only way to stop someone from seeing the source is to create a Java Applet or ActiveX control or userdocument.
Pete:
>A point to note is that most browsers don't supply any
>method to view javascript code that was linked using
>client side include <script></script> tags.
Actually, it does. Type this line into the url/address box in your browser (don't just click on the link, type in the entire line):
view-source:
Java applet, ActiveX, etc compiled sources, I'm kind of curious if any company has ever pushed the idea of compiled HTML (I known it seems to exist on MSDN Library [not online])
> Actually, it does. Type this line into the url/address
> box in your browser (don't just click on the link, type
> in the entire line):
> view-source:
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.