Links in external JS

Discussion in 'Search Engine Optimization' started by Sifro, Jul 12, 2011.

  1. #1
    Hello,

    if a website calls an external JS that document.write()s a standard link, does this link count as a valid backlink?

    Obviously the html of the page itself doesn't contain the backlink, but my browser - and the same applies for any browser capable of understanding a simple document.write() - correctly sees a normal link.

    Thanks!
     
    Sifro, Jul 12, 2011 IP
  2. revium

    revium Member

    Messages:
    330
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    33
    #2
    If the URL is not shown in the html then most likely it will not be counted as a backlink.
     
    revium, Jul 12, 2011 IP
  3. Sifro

    Sifro Member

    Messages:
    59
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    41
    #3
    so googlebot doesn't execute javascript at all?
     
    Sifro, Jul 13, 2011 IP
  4. beattrump

    beattrump Peon

    Messages:
    19
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    yes search engines can’t read JavaScript, just open the page source and see if the link is "a" valid or not, if on the page source it is written as <a href="xxxx.html">testing</a> then it will be counted.

    you could search google for this keyword "seo-friendly-javascript-menus"
     
    beattrump, Jul 13, 2011 IP
  5. revium

    revium Member

    Messages:
    330
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    33
    #5
    revium, Jul 13, 2011 IP