pf » GoogleBot Runs AJAX?
GoogleBot Runs AJAX?
I saw this curious line in my log files today:
212.36.25.102 - - [06/Dec/2006:17:00:50 +0000] "POST /suggest.cfm HTTP/1.1" 200 232 "-" "Googlebot/2.1 (+http://www.googlebot.com/bot.html)"
That's GoogleBot doing a POST operation to suggest.cfm, which is what happens when you type in the text box on cssdocs.org, it sends a HTTP post request to suggest.cfm using AJAX / XmlHttpRequest
Now I know GoogleBot has a bot that runs JavaScript, but I am suprised that it would trigger these events (since you have to put text into the text box). This makes me really curious to know what Google's JavaScript bot really does? Does it invoke all events? I've never seen GoogleBot do a HTTP Post operation before.
Update: It turns out that this was someone spoofing their user agent.
Related Entries
- Googlebot to Submit Web Forms - April 23, 2008
- Tracking JavaScript Events with Google Analytics - September 28, 2006
- Ajax Same Origin Policy No More with Firefox 3.5 - June 30, 2009
- Google's JavaScript API Loader - November 26, 2008
- Adobe AIR Tutorial for HTML / JavaScript Developers - February 25, 2008
I don't use Scriptaculous, and its controls.js doesn't look like it is explicitly setting the METHOD to POST.
Nevermind. Found it in prototype.js.
Hmm.
Even if we made the assumption that the folks at Google wanted to make a bot that ran JS ... you then also have to make the assumption that they stuff keys into input boxes and watch for events ... or it knows what Prototype and Scriptaculous are, and stuffs them with keys. And to what end? To get a list of popular search terms for your site? And do what with it? Seems like a stretch to me.
It seems more likely that someone is probing your site or yanking your chain.
Oddly enough, the IP you have listed is supposedly owned by ARIN.
I'm using the User Agent Switcher extension for Firefox to test the SEO functionality of my SWFAddress project and sometimes I forget to switch back my settings immediately. I think I saw cssdocs.org featured on Ajaxian and gave it a try.
- ColdFusion 8 FCKeditor Vulnerability
- Ajax Same Origin Policy No More with Firefox 3.5
- Firefox 3.5 Introduces Origin Header, Security Features
- Tips for Secure File Uploads with ColdFusion
- 7 Years And Blog Entry Number 700
- CFCatch Java Exceptions
- Cheat Sheet for SQL Server
- CFML on Google App Engine for Java
RSS
add to del.icio.us
Pete Freitag is a software engineer, and web developer located in











