{"id":78,"date":"2006-01-25T03:51:00","date_gmt":"2006-01-25T03:51:00","guid":{"rendered":"http:\/\/blog.trungson.com\/?p=78"},"modified":"2006-01-25T03:51:00","modified_gmt":"2006-01-25T03:51:00","slug":"does-googlebot-run-javascript","status":"publish","type":"post","link":"http:\/\/blog.trungson.com\/?p=78","title":{"rendered":"Does GoogleBot run JavaScript?"},"content":{"rendered":"<p>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=&#8221;javascript:vote(&#8216;Yes&#8217;);&#8221; 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&#8217;s annoying since I do not want the bot to vote.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>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=&#8221;javascript:vote(&#8216;Yes&#8217;);&#8221; 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&#8217;s annoying since I do not want [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"_links":{"self":[{"href":"http:\/\/blog.trungson.com\/index.php?rest_route=\/wp\/v2\/posts\/78"}],"collection":[{"href":"http:\/\/blog.trungson.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/blog.trungson.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/blog.trungson.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/blog.trungson.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=78"}],"version-history":[{"count":0,"href":"http:\/\/blog.trungson.com\/index.php?rest_route=\/wp\/v2\/posts\/78\/revisions"}],"wp:attachment":[{"href":"http:\/\/blog.trungson.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=78"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/blog.trungson.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=78"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/blog.trungson.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=78"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}