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?
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
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.
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.
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
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.
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.