Forum Moderators: open

Message Too Old, No Replies

Does content generated by javascript get indexed?

javascript, ajax, search engine

         

jason1989

2:44 pm on Jan 3, 2009 (gmt 0)

10+ Year Member



I have some html files indexed by search engines. I'm thinking of embedding content by using javascript. Ex:

static html content here...
dynamic html content embedded with javascript here...

Will this embedded content be indexed?

Thank you

jason1989

2:56 pm on Jan 3, 2009 (gmt 0)

10+ Year Member



After reading some posts here on the forum, some are saying that javascript may be processed while others say that it won't.

I've been to pages with badly written javascript that spikes your processor pretty bad. All this would be extra processing done by the spider and maybe the search engines don't want to get bogged down with extra processing.

rocknbil

4:52 pm on Jan 3, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



one testimonial [webmasterworld.com]

More [google.com]

It's notable to mention that SE's may read the content in Javascript but won't execute it.

So it's likely if you have the script inline, at the head of a document or writing inline in the page with document.write() containing links, it will probably pick it up.

But if you use external js, it may not. I've never fully chased this one, if you want your links to be followed, use plain ol' links and apply JS to the objects containing them to show/hide, whatever.

phranque

12:55 am on Jan 4, 2009 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



from the WebmasterWorld home page:
MSNBOT-MEDIA Crawls Thru Javascript [webmasterworld.com]