homepage Welcome to WebmasterWorld Guest from 54.198.8.124
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Google / Google SEO News and Discussion
Forum Library, Charter, Moderators: Robert Charlton & aakk9999 & brotherhood of lan & goodroi

Google SEO News and Discussion Forum

    
Googlebot Now Executing Javascript?
first time I've ever seen this
bhartzer




msg:713779
 9:21 pm on Apr 28, 2006 (gmt 0)

I have a site where I have access to my log files and very good web stats. As a backup, on this particular site I use a third party javascript counter on the site (there's javascript code that I put on the page and when a real human with a browser executes that javascript code it records the data).

The thing is, today (in fact about 30 minutes ago), googlebot just visited the site apparently. In other words, "googlebot" just executed javascript. What's also weird is that I think this wasn't someone "acting" like googlebot since there's no web browser or other signs that it was using a browser to view the site.

Is googlebot now executing javascript?

 

tedster




msg:713780
 9:23 pm on Apr 28, 2006 (gmt 0)

Not actually executing, as far as I know -- but taking javascript as text, and then seeing if something that looks like a url may be in the script.

mattg3




msg:713781
 12:27 am on Apr 29, 2006 (gmt 0)

Wouldn't this make sense from G's side to detect more spam or things like

if (Mozilla Gbot) do
something nice
else
show kiddie porn with real estate links that sell viagra
end

:\

jomaxx




msg:713782
 1:30 am on Apr 29, 2006 (gmt 0)

They have something like that, but there's not much point in identifying themselves as Googlebot when they do so.

I haven't seen Googlebot executing code myself, but I have seen it testing out anything that looks like a URL in my Javascript code -- even if it isn't prefixed "http://".

mattg3




msg:713783
 1:59 am on Apr 29, 2006 (gmt 0)

Yes but wouldn't it be easier to detect cloaking to send

gbot and occasionally something else where cloaking is suspected and do a simple text comparison, that actually write a program that analyses what all variations of javascript could possibly do, from the source code.

so after a line if {Gbot) { is found by normal procedures

an extra spamtestbot is send:

So Gbot sees
nice things
spamtestbot
sees
something looking spammy

nice things!= something looking spammy

busted

easier than
analysing gazzilion versions of javascript and what it could possibly do.

Just guessing. :\

bhartzer




msg:713784
 1:24 pm on Apr 30, 2006 (gmt 0)

You're right, it appears that Googlebot is seeing a URL in the javascript code and following it. The script has a URL in it like this:

script src = http :// www.domain. com/ counter/ counter. js

(I added some spaces in there, but you get the point. ;)

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Google / Google SEO News and Discussion
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved