Hiding main contents using javascript on page load

Discussion in 'Search Engine Optimization' started by kappforum, Dec 3, 2008.

  1. #1
    hi!
    1. Im hiding my main contents using javascript on page load whether SE read the contents or not?
    2. Due to hiding my main contents using javascript on page load whether my page rank will affect or not?
     
    kappforum, Dec 3, 2008 IP
  2. OnlineVista

    OnlineVista Banned

    Messages:
    60
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Put the website through a spider simulator tool and you would exactly know if the spiders are able to read it or not.

    If they get to know that you are trying to hide content (looks spammy) it might give them an indication that the page should be classified as spam. If that happens, your're rankings are gonna take a beating.
     
    OnlineVista, Dec 3, 2008 IP
  3. Dan Schulz

    Dan Schulz Peon

    Messages:
    6,032
    Likes Received:
    437
    Best Answers:
    0
    Trophy Points:
    0
    #3
    If you're hiding your content from the search engines via JavaScript (and no they can't parse them for the most part, except with the most basic of scripts which they can read) then you're doing a disservice not only to the search engines but also those users who do not have a JavaScript capable browser (such as those who have scripting stripped out via a firewall at work, mobile users, and those who use screen readers and text-based browsers like Lynx).

    In other words, it's not just an SEO issue but also an accessibility one as well.
     
    Dan Schulz, Dec 3, 2008 IP
  4. kidsnscience

    kidsnscience Banned

    Messages:
    411
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #4
    google crawler will crawl the text which u hide via java script
     
    kidsnscience, Dec 3, 2008 IP
  5. Dan Schulz

    Dan Schulz Peon

    Messages:
    6,032
    Likes Received:
    437
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Only if the content is in the HTML. If it's being generated by JavaScript dynamically, chances are near certain (as in 95%) that the search engines won't even see it.

    Oh, and I do need to answer the second question from the OP. No, it won't change your PageRank. Only links can do that.
     
    Dan Schulz, Dec 3, 2008 IP