Hello friends, I have a small confusion. Is JavaScript enabled content crawled by Google or other Search Engines? Thanks Shailendra
no generally java script and all heavy dynamic pages are not crawled .i read it somewhere but not sure for java script as far as i know its not.
@Namrata Dynamic pages are crawled just fine. You may be thinking of pages with many variables in the url (ie a ? and lots of & in the URL of a page). In either case they are usually crawled by search engines just fine unless there is something else wrong with the site.
Javascript itself isn't crawled, the bot will always stop at <script> and continue at </script> however it depends on the script as to wether the content is crawled. If the content is within the <script> tags </script> then no it won't be, although if the script is used to call on an effect then yes, the content will be crawled. If you look at the www.wpcoder.com source code you can see content within the <div> tags that use javascript to display the effect to open the pages: Pricing FAQ Contact Us IS crawlable
I've seen text written to a H1 tag using document.write show up in search results for really obscure terms, so it looks like Google are working on it. However the JavaScript text did not appear in the search result snippet for the page (there was no description tag or DMOZ listing)- but the the html that followed was displayed in the snippet. Also the JavaScript text did display on the cached version of the page.
google can and does crawl javascript files. They've been doing this to my certain knowledge since at least 2003 (when I started finding the contents of my javascript files cropping up in google searches). They have the tech to parse it too - ever heard of 'chrome'? You do sneaky java redirects to cloak a page, you see how long it lasts. The boys in the 'plex aint stupid.
Good comment, however it's not 100% full proof and there is no official announcement (that I can find) from Google as to whether this is the case. Looking at results to rankings I'd not want to solely place content in script hoping it is crawled. As I don't think it will be. I agree the boys in Google are not foolish, yes they can crawl javascript! But that said, how much value does Google place on content in javascript that is read and this would load the crawl time on a site soooooo much!!!? Plus would it read external script files? I don't think it would. As we're talking about SEO here and best practice, i'd avoid putting ANY content within the script, just like all top ranking pages in Google do, check them out. Sure, embed script around content, this is good practice, but I'd not risk large parts of content. Whether you wish to emebd your keywords and content specifically in the script then that's fine but I can't see a reason for doing this anyway? However I noticed the site in your signature contains absolutely no javascript whatsoever? So which site do you rank for with Javascript? Personally when it comes to Javascript, i'd stick to proven results and not leave it down to chance... SEO is about proven results analysing data and using what works Anyway guys, nice discussion! A good article to check on the matter: http://www.antezeta.com/blog/google-javascript/ And, thanks for the rep Shailendra glad I was some help mate. Good discussion
I too have observed some of the javascript content in the Google results. Can it signify that it is being crawled? Sometimes they do appear in backlinks also.
As per my knowledge, the content in the dynamic pages will be crawled but the java script content will not be crawled. And also, robots doesn't read the images but can understand the alt tag. Can read flash files.