Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

Does the Google spider knows how to render JavaScript, or only HTML?

share|improve this question
add comment

migrated from stackoverflow.com Nov 19 '10 at 13:18

This question came from our site for professional and enthusiast programmers.

3 Answers

Apparently it does, some, according to Matt Cutts:

"For a while, we were scanning within JavaScript, and we were looking for links. Google has gotten smarter about JavaScript and can execute some JavaScript. I wouldn't say that we execute all JavaScript, so there are some conditions in which we don't execute JavaScript. Certainly there are some common, well-known JavaScript things like Google Analytics, which you wouldn't even want to execute because you wouldn't want to try to generate phantom visits from Googlebot into your Google Analytics".

share|improve this answer
+1 for quoting from the horse's mouth. –  alex Nov 19 '10 at 13:07
add comment

You mean interpret JavaScript? It does request the JavaScript files.

And I'm pretty sure it does, to some degree.

T.J. Crowder's answer confirms this.

share|improve this answer
add comment

It does, partly, as a quick Google search reveals:

Still Google is relatively quiet on what the bot exactly understands.

share|improve this answer
add comment

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.