Javascript Links & Google Bot

Discussion in 'Google' started by coolcow, Apr 16, 2008.

  1. #1
    Does it follow JavaScript Links?
     
    coolcow, Apr 16, 2008 IP
  2. angilina

    angilina Notable Member

    Messages:
    7,824
    Likes Received:
    186
    Best Answers:
    0
    Trophy Points:
    260
    #2
    No, google bot don't follow such links. I think it can not even read Java Scripts :)

    google.com/support/webmasters/bin/answer.py?hl=en&answer=35769
     
    angilina, Apr 17, 2008 IP
  3. rainborick

    rainborick Well-Known Member

    Messages:
    424
    Likes Received:
    33
    Best Answers:
    0
    Trophy Points:
    120
    #3
    Google does scan embedded JavaScript and (rarely) external .js files for complete URLs (ie. "http://www.somesite.com/somepage.html"), but those links are only used for URL discovery and they do not pass PageRank like a normal HTML link would. So, relative URLs and URLs that are constructed by JavaScript code would not be found, and even complete URLs are not equivalent to ordinary <a>nchor tag links in things like drop-down or pop-up menus.
     
    rainborick, Apr 17, 2008 IP
  4. kaijohannkursch

    kaijohannkursch Peon

    Messages:
    28
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Yes. Googlebot searches for urls in ALL the code. If you want your javascript urls not to be indexed, encode them or split it through variables or something.
     
    kaijohannkursch, Apr 17, 2008 IP