Is there anyway to hide all the code so that when a user clicks on view source, nothing is shown.
Is there anyway to hide all the code so that when a user clicks on view source, nothing is shown.
No.
HTML is plain text. You don't need to hide it, you can't hide it, and there's no reason to do so.
Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!
http://www.dynamicdrive.com/dynamicindex9/noright3.htm
this may be helpful, although you can never really protect your code
just ran across this, it encrypts it
http://www.dynamicdrive.com/dynamicindex9/encrypter.htm
It doesn't do anything of the sort. What it does do, however, is make your document completely dependent upon client-side scripting. No-one's source code is that important.Originally Posted by spyder
Mike
Bookmarks