Menu

Colin Devroe

Reverse Engineer. Blogger.

Google Chrome’s view source “oddity”

November 17, 2009

[ad#Adsense: Horiz 468]

Viewing the source of a page on Google Chrome is, for the most part, a terrific experience. Chrome supports syntax highlighting of the underlying code of a page making it much more readable for us geeks while we look under the hood.

However, something I’ve run into of late is that it doesn’t work very well for dynamically generated pages. The issue seems to be that since Google Chrome opens a new tab to view the source of the current URL that you’re on, it actually “reloads” that page with new session data, as well as ditching all of the POST variables you may have sent to it. This causes some confusion and may lead to head scratching (as it did for me).

I don’t know of a work around currently but knowing this may save you some time.

Side note: I’m loving Google Chrome for Mac.