Bots crawling javascript

Discussion in 'Search Engine Optimization' started by addaminsane, Sep 16, 2007.

  1. #1
    Hey, I know that bots have trouble crawling links within javascript. My question is Do bots still crawl text in javascript? or does javascript just render all content un seo friendly. Thanks for the info.

    for example, if i put a feed on a webpage i know that the links to the outbound pages wont be crawled. Will the bots crawl the text though?
     
    addaminsane, Sep 16, 2007 IP
  2. devat

    devat Peon

    Messages:
    670
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #2
    hi

    Robots can crawled only html not a javascript
     
    devat, Sep 16, 2007 IP
  3. lovekills_s

    lovekills_s Well-Known Member

    Messages:
    230
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    125
    #3
    They can see it as just some kinda code..they can ofcourse read it but CANNOT execute it..and javascript only works when executions takes place..

    Hence they cant actually crawl the URL in the script..

    Scripts are executed at the client end, if cralwers start executing them, and if any script has got some trojan in an exe, it will get patched on the bot's computer..and bang!.. the virus spreads like anything..thats y they cant make the scripts executeable..and thats y URL's in it cant be cralwed..

    Regards
    LKS
     
    lovekills_s, Sep 17, 2007 IP
  4. internetgal

    internetgal Peon

    Messages:
    117
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    No, spiders don't follow java scripts texts and links. Take for example,Adsense is based on java-script. Just check the source code of a web page with adsense block, you won't find any adsense texts there.Google spiders won't recognize Adsense text as your content.
     
    internetgal, Sep 17, 2007 IP
  5. Toe

    Toe Peon

    Messages:
    370
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Some time ago I tested the ability of spiders to crawl JavaScript.
    So if you have keywords in script-menu (the script is embedded) all 3 major SEs indexed the words. They can index text inside JavaScript, if it is embedded. If the script is executed with external JavaScript - they will not index the text.

    Also GoogleBot follows links in JavaScript.
     
    Toe, Sep 17, 2007 IP
  6. lovekills_s

    lovekills_s Well-Known Member

    Messages:
    230
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    125
    #6
    You are right..Actually inline javascript links can be indexed.. an experiment conducted at SEOChat had proved that..

    http://forums.seochat.com/seo-test-...ow-much-javascript-can-ses-read-145643-2.html

    window.location type javascript inline in the anchor text does in fact get followed by search engines and content in it.. when it comes to execution, then nothing.. :) nice one Toe
     
    lovekills_s, Sep 17, 2007 IP
  7. addaminsane

    addaminsane Well-Known Member

    Messages:
    431
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    130
    #7
    Thanks for that info guys. Is google working on getting better at crawling new techs like javascript and ajax? Seems like they're way behind.
     
    addaminsane, Sep 19, 2007 IP
  8. guruhowto

    guruhowto Guest

    Messages:
    75
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #8
    I think google would rather want to improve on javascripts as javascript are used for content like RSS feeds but for ajax I don't so. Ajax is used mainly for web service applications meaning the frontend communicates to the server behind and thus often on contains less information need and often technically formatted.
     
    guruhowto, Sep 19, 2007 IP