Yes, Googlebot does execute JavaScript code. I have an AJAX vote form with Yes/No links. The links are in AJAX form. Something like this: href=”javascript:vote(‘Yes’);” and the database records these votes. I got many votes from GoogleBot. Its User-Agent string is like this: Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html). Now it’s annoying since I do not want the bot to vote.
Does GoogleBot run JavaScript?
by
Tags:
Comments
One response to “Does GoogleBot run JavaScript?”
-
Use robots.txt 🙂
Leave a Reply