Forum Moderators: open

Message Too Old, No Replies

Java script and Google!

Will affect my site listing?

         

cluster

7:11 am on Apr 6, 2003 (gmt 0)

10+ Year Member



I'm thinking about put some java script like "send this page to a friend" or something like that, that kind of javascript can cause some trouble to google bot?

Cluster

dmorison

7:26 am on Apr 6, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hi,

If JavaScript bothered Googlebot there would only be about 2 sites in the Google index!

Seriously; there shouldn't be any problem. Stick to the standards and you'll be fine.

hetzeld

9:06 am on Apr 6, 2003 (gmt 0)

10+ Year Member



Dmorison said: "If JavaScript bothered Googlebot there would only be about 2 sites in the Google index!"

That would be nice... we wouldn't have to wait that long for the monthly update :))

garylo

9:45 am on Apr 6, 2003 (gmt 0)

10+ Year Member



Agreed, Google simply ignores Java scripts.

cluster

9:55 pm on Apr 10, 2003 (gmt 0)

10+ Year Member



What about that?
[webmasterworld.com...]

C) Site Design:

"...Stay away from heavy: flash, dom, java, java script. Go external with scripting languages if you must have them - there is little reason to have them that I can see - they will rarely help a site and stand to hurt it greatly due to many factors most people don't appreciate (search engines distaste for js is just one of them)...."

egomaniac

11:24 pm on Apr 10, 2003 (gmt 0)

10+ Year Member



Hi Cluster,

The search engine reason for the comments you quoted about Site Design is that you want your relevant text as high in the HTML as possible. The belief has always been that Search Engines give more weight to text higher in the HTML.

All my sites have the javascript in remote files (with a few exceptions, where I wasn't sure if I could put it off the page or not). My pages do very well in Google and INK.

MY business partner did a site recently with lots of js on page as well as other junk in the html. It scored horribly on its first addition to Google. We've cleaned it up, and we are waiting for the update.

Frankly, I don't know for sure if my ultra-clean html is why I score so well. But it certainly can't hurt, and I think it probably does help.

One more thing... using js won't cause you to get penalized. It just junks up your code if overused.

GrinninGordon

2:59 am on Apr 11, 2003 (gmt 0)



Hi Cluster

They are right, avoid JavaScript around the head and body tags. The "email a friend" and / or "bookmark us - add us to your favorites" can be done with cgiscripts as well, and there are Javascript version to do this where you simply place all (and not much) of the JavaScript where you need it.

I actually believe, if you do both email and bookmark, and make one lean JavaScript and the other a cgi, you can use these to actually get additional SE brownie points.