10 replies
I have seen what you are describing before, and I think it has to do with the web server settings. Im not sure how to achieve it though. What I DO NOW, is a stupid little trick that, believe it or not, works better than one would expect. Simply put a lot of spaces before the code (empty lines). When user opens the source, they will see what appears to be an empty document, although your code is still there, but way down. It fools more people than you would think, lol.
Good Luck!
by brian
by rrv
Just do your web in ASP.NET using your favourite language. It can be any one of 24 languages now. In this web is no more than a windows application development. You can enumerate any menu item in the window and disable or hide it even.
RV
by mmacd_2000
I can view the source for Microsoft's pages just fine. Same for MSN, except it's onebiglongstringofcodeandreallyhardtoread. But it's nothing unusual.
They DO have linked javascripts, and those don't show up directly. The URL for them does, and you can certainly grab that too if you really want.
Also, I'm pretty sure the pages are generated from server side scripts, and I DON'T see those -- just the HTML/js they generate.
One thing -- if you open a PDF in your browser, and then go toanother page and try to view source, it IS disabled. However, close that window and open a new one, and view source is fine.
This discussion is closed to new replies.
Trending Web Development posts
Sort by Trending