Google Forum

Double Your Adwords Profits in 7 minutes!


$7 Secrets
People are making thousands of dollars using the techniques and scripts included with this popular report. And it costs only $7! [Read more...]

AdWords Secrets
Free 5-day course that can help you make money using Google AdWords.

Articles for 25 Cents Each
Get 400 exact keyword optimized articles, delivered to your inbox, every month. A new and inexpensive way to build keyword rich web sites that can make money, month after month.

Trade Links with 5,000+ Sites
This is not an automated link system. The Add URL Directory is a directory that lists over 5,000 "add url" pages that have forms that you can use to add your site and exchange links. The directory is divided into categories, helping you find sites in your topic area.

Backlink Analyzer
Automatically analyze the anchor text of all of your backlinks. Analyze your competitors' backlinks to see how you compare in the anchor text department.

SEO Web Site Templates
Web site templates that have been designed specifically for search engine optimization (SEO).

My sponsered child, Hama from Niger, Africa
A portion of the proceeds from this site help sponsor Hama from Niger. Learn more about Child Sponsorship.

Google crawls javascript links?


Author Message
GoogleGuy Says

PostPosted: January 27, 2004 12:48 PM 

Importance: High

GG suggests that Google may be able to crawl javascript links.

GoogleGuy Says: [Link to quote]

I wouldn't assume that we can't scan through JavaScript for links. Techies can leave the the np-complete jokes aside ;) My recommendation would be to put the links or redirects through a page which is forbidden by robots.txt. You can say "nofollow" to exclude links from a whole page, but I don't think we have that granularity for individual links. That's a good suggestion though..


Posts: 1

Reply: 1

PostPosted: March 26, 2004 12:39 PM 

I'm interested in hearing more about whether or not Google reads and spiders through links that are in amongst javascript.

We use drop-down menus, developed in fireworks, for our main navigation.

Horror of horrors, is it possible that those links wont be getting read by Google and our ranking is suffering as a result? If so, is there any fast remedy for this or would a major overhaul of our navigations system and site be advisable?

Mark Carey

Posts: 34

Reply: 2

PostPosted: March 26, 2004 1:08 PM 

Historically, Google did not follow dropdown-based navigation schemes. This may be changing, based on comments from GoogleGuy like the one above.

That said, I certainly would not count on Google crawling any URLs that are not standard links. I would add an alternate navigation system to each page (ie. small text-based menu in the page footer) or at least a sitemap that Googlebot can use to find all your pages.


Posts: 1

Reply: 3

PostPosted: October 17, 2004 3:57 PM 

Can anyone tell me whether Google Bot would follow a link like this:?

onclick="wpop(this.href); return false"
>****click here*****

There is an explicit link gor Google (href) and a javascript popup associated.

Posts: no

Reply: 4

PostPosted: December 2, 2004 10:14 AM 

I have a site with some drop-down menus written in Jscript:

I am storing the menu in a separate "menu.js" file as I might add new submenus.

Using a google crawler simulator it was obvious that google will not follow the links inside the drop menu.
I will add a sitemap but it is not good yet as I know that for getting good pageranks I need all the pages to link toghether (as in fact happenes for a human user - it is easy to go from one page directly to any other).

Do you have any tips to solve this issue?

Pujitha Sendanayake

Posts: 1

Reply: 5

PostPosted: January 15, 2005 2:48 AM 

Optimize JavaScripts in Web Pages

1. Move the JavaScript code into a separate file(js) and link to this file from the HTML file.

2.Move the JavaScript code to the very bottom of the HTML file, below the tag.

also,use a site map.
This will expose your web site to search engines and will not lose the rank.


Posts: 1

Reply: 6

PostPosted: June 9, 2005 1:32 PM 

Now i changed the java script menu to a html menu and also moved my website to a paid domain and seems to get indexed better.

Subscribe to this discussion: Email

Join the conversation:

Remember personal info?

Check to Subscribe to this Comment:
(email field must be filled in)

Subscribe Without Commenting