Google can now run Javascript
It appears that the first step in making flash content spiderable Google has added the ability for googlebot to execute javascript. I’m not sure how robust it is but I do know that it can. I’m working with a client that had a very large amount of content that was previously not in Google because the content required javascript to be seen. Out of nowhere this site has over 600,000 pages of new content in Google that was previously not there.
I was very confused at first. I knew that those pages were not there before and that Google should not be able to see them. I put one of the url’s in a spider simulator and the text was being shown. I put it firefox and IE with javascript turned off and content would not show up. I put in in lynx and the content did not show up either. I wonder why and how the top spider simulators are running javascript.

Very interesting indeed. I wonder the limitations. Are any of your client’s pages AJAX driven?
There are rumors that Google is experimenting with a version of Rhino to execute js on the server site. This may be tied to their hosting of AJAX-related libraries like Dojo and Prototype.
Now this is a VERY VERY interesting finding.
I wonder what all those sneaky javascript redirecting spammers do
once this works perfect from Google’s view.
best,christoph
Hi guys,
I work with the Ajax Libraries API at Google, which is where we host the popular libraries such as Dojo, Prototype, Scriptaculous jQuery, Mootools, and more.
That project is purely about hosting JavaScript files…. and doesn’t do anything else
Cheers,
Dion Almaer
Open Web Advocate at Google
It’s very interesting, as you say some weeks ago Google announced that flash sites were crawlable too and also that they were working on implement a way to follow javascript code in order to index flash movies called by js.
Probably it’s something related to this… btw may I ask you a thing? In the website you noticed this are you using a js calls with onclick only or with also an href link in order to allow ppl without js installed to browse the website?
Because if you are using this probably the site has been crawled thanks to this.
This is interesting and all the major search engines including Google are working hard to crawl JavaScript and Flash. As mentioned in the start of post, important thing is how robust this will be.
We need to consider this as a first step and I hope this will open new horizons for the world of internet marketing.
If that is the case then surely contents obtained in the form of RSS Feed in Java Script will be crawled by Google. In that case we surely do not have to convert contents obtained as JavaScript to HTML on websites for fresh contents to rank well with Google search engines. But has this facility to bot JavaScript been officially declared by Google?
The site uses javascript as an include. When I go to the google cache it shows the content that can only be viewed if you run javascript. The content is saved in a database and the only way to pull it out is by running javascript.
I recently realised Google must be executing javascript when I found I could google email addresses on my web pages that were cloaked using js.
great news, thanks for sharing. I found this site while searching for an article about the SEO.
They’ve been working on decoding Javascript and Flash for their browsers for some time. It will be interesting to see how this impacts code that was thought to be hidden. It seems that more and more search engine spiders are scanning sites and making public information that the website owners wished would remain private.
I read about Google can crawl Flash sites better but I’ve heard now Google can execute JavaScript files. It’s very interesting.
Nice to know about this, but then how we can relay on Google analytics !!! Which is poorly working on JS and will it avoid reports for bot crawls. There are many traffic analysis done using the JS reporting tools like Hitbox.
Evenif Googlebot started to execute Javascrpit, I dont think it can do it perfectly. There must be lots of flows in it, Google might have started it for experiements. One day Google will find a right way to handle Javascript, I am sure about it.
@Charlie: recently realised Google must be executing javascript when I found I could google email addresses on my web pages that were cloaked using js.
Oh no. Does that mean the spam email harvesters will be close behind …?
I even can’t decide wether I now like Google or dislike it… That sounds to me a little bit terrifying all this… you know though there is unlimited freedom in the Interenet I would prefer to save some confidence in there…
I know it’s been a while with this original post, but now after reading this, I wonder if you can put in live links in Javascript for the sake of SEM. So much to learn on an ongoing basis…it makes you want to just walk away from it all. Oh well, I guess you alsways have to be learning and training. That’s life.
Good invention about Google spider, I thought Google only related to AJAX technology. But now i’m finding relation between Javascript and Google search engine. Hope to test some codes with firefox with advanced features.
@david
Usually google uses javascripts in Google Analytic and Google Adsense services, so they are using it. But i wonder about this post. I’m not sure about the relationship with Google search engine and Javascript. Anyway this is a good topic to discuss.
javascript is not a latest technology with AJAX, because we can see many unsecured items in codes. Probably Google may test something.
@ organic gifts
Yes, security is the main reason.
Very interesting topic to discuss. Normally Google try to work with AJAX related technologies from many years. I think Googlebot have started to execute java scripts. But this will impact to low down security!
Hard to believe that Google still depend on javascripts. nowadays javascript is not good when we consider about security and other facts. But Google use javascript in Adsense and Analytics. That means they can manage it well.
Generally Goggle bot not supporting javascript even they use it in Analytics, this is a cool news to hear.
Nice found about Google and javascripts.
Its really interesting google can run javascript , its really a great news for java developer, because now few programmers uses php and ajax only, thanks for sharing .
Very interesting indeed. If this is true, it will change the way people do their website.
Another nice invention about Google and javascripts.
Google may test something with javascript, Thanks for sharing with us.
Running javascript is not good when we are considering security, I can’t understand why Google allow it???
I think this is good news for Ajax driven sites. Ajax increases visitor satisfaction and usability in my opinion, and Google is supposed to increase their searcher’s satisfaction. So it only makes sense that Google is now indexing javascript and flash sites. Google also has to stay ahead of competition, and they are just doing what they need to do, in order to compete.
Google remains a mystery to us all! You raised a good problem, is there an engineer google lying in the corner ?