View Full Version : Hiding source

Jun 26th, 2009, 09:55 AM
Has anyone noticed that google search pages seem to have a different source code?

Here's what you can try.

1. Goto www.google.com
2. Type in any word, I tried "rugby" or "american football"
3. Wait for the page to load, then look for certain words or phrases in the search results. Then look at the source code and do a find, you won't be able to find those words, yet you see them right in front of you.

Anyone knows how google does it? Shouldn't the source code be exactly what you see on the screen?

Jun 26th, 2009, 10:21 AM
I think you're not seeing the horizontal scroll bar at the bottom of your source view.

Either turn on word wrap or apply formatting in an html editor. You'll see everything there. :)

Jun 26th, 2009, 02:27 PM
Strange, I've tried it a couple times and I honestly don't see it. (Same for both IE and FF).

One thing I noticed, when I "view source", I only get to see a part of the entire source code, the HTML starts off correctly with <HTML> but the last code in there is </script>, it doesn't have </body></html> at all.