| We hope you enjoy your visit. You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free. Join our community! If you're already a member please log in to your account to access all of our features: |
| Hiding Source Code; How do I do it? | |
|---|---|
| Tweet Topic Started: Nov 12 2008, 11:29 PM (398 Views) | |
| Nada | Nov 12 2008, 11:29 PM Post #1 |
|
Anada
|
I was looking at a help website which said to put my cursor in front of the opening <html> tag and keep hitting enter on the keyboard. This would push all the css out of view and anyone clicking on 'View page source' would see a blank page. Sure enough i clicked on the author's source and could only see a white page. It's not going to fool everyone but it sure would fool css learner drivers like me who can't even work out how to do it! Lol. What is the opening <html> tag ? I tried it in Board wrappers and while the info in admin cp got pushed out of view i could still see my website source code when i clicked on it. |
![]() |
|
| Ben | Nov 12 2008, 11:52 PM Post #2 |
|
Quantum-locked when observed.
![]()
|
You cannot hide the source code of a web page. And there is no reason why you should. In case you didn't understand the above two sentences, let me explain this. When the server generates a page, it sends it to your browser in the form of HTML, which the browser interprets and renders on your screen. As a result, your browser has a copy of the original page (since it's just data). The only way to hide a page from people is to not put it on a computer that has access to the Internet. For better measure, you should put it on a computer, put the computer in a lead-lined box, fill the box with cement, and put the box in a bunker with three-metre walls of steel. Furthermore, there is no reason why anyone would want to hide the source code to a web page. As far as HTML goes, it is fairly vanilla. It's a markup language, which means it tells browsers what the contents of a page mean. There's no dynamic component involved. And there's no reason to encrypt one's JavaScript either--again, because the browser's going to cache it anyway, so anyone truly determined is going to be able to get it. Finally, you didn't even create the source for the board's pages. The board generates them dynamically depending on what page you're viewing, and by pulling data from templates and the database. Aside from your particular data and any other modifications you put in your Board Wrappers, it is identical to what other InvisionFree boards look like. |
![]() |
|
| 1 user reading this topic (1 Guest and 0 Anonymous) | |
| « Previous Topic · zIFBoards Support & Galleries · Next Topic » |







4:24 AM Jul 11