Adam Lynch
Adam Lynch

Reputation: 3369

Will Google index my shtml page's content if it is printed by Javascript?

I have SHTML files which I'd like to implement the following:

The exact implementation of the next step doesn't really matter.

The main thing to take from this is that the content is printed by JavaScript. Will Google still index the pages just as before (including the content)? Will I need to add anymore code/directives? Will Google index just as often, etc.?

NOTE: Content will always be printed for Google. (No Captcha)

Upvotes: 0

Views: 167

Answers (1)

cweiske
cweiske

Reputation: 31078

No. The Google bot does not support Javascript.

See http://www.google.com/support/webmasters/bin/answer.py?answer=35769#2 :

Use a text browser such as Lynx to examine your site, because most search engine spiders see your site much as Lynx would. If fancy features such as JavaScript, cookies, session IDs, frames, DHTML, or Flash keep you from seeing all of your site in a text browser, then search engine spiders may have trouble crawling your site.

Upvotes: 4

Related Questions