Mobile app version of vmapp.org
Login or Join
Radia820

: Litmus test to determine if javascript content is crawlable Already read this: How can I create links in javascript that are crawlable by search engines? I make the assumption that if you view

@Radia820

Posted in: #Javascript #Seo

Already read this: How can I create links in javascript that are crawlable by search engines?

I make the assumption that if you view source on a page and can find content / links hidden by javascript contained within appropriate html tags after the page is finished loading the first time, then crawlers can find the content / links as well. Is this true? Also is there any special markup available that will highlight the content to a search engine?

Is finding the content in the html after initial page load an appropriate test whether the javascript on a page is Search engine friendly?

10.02% popularity Vote Up Vote Down


Login to follow query

More posts by @Radia820

2 Comments

Sorted by latest first Latest Oldest Best

 

@Radia820

John Conde's answer is good up to date information on how the crawlers read the page and the argument for making the page readable by everyone.

Since I mentioned a litmus test here's an improved version on the one I posted above before reading the articles in John's post. Let me know if I'm missing something, but I think this should work in most situations.

Litmus Test:


Enter - site:www.website.com/page.html for the page that contains the javascript in question at a search engine (using google's site search as an example).
Put quotes around a text phrase found only in the javascript manipulated content.
Search


Example: site:www.website.com/page.html "eat salmon to stay healthy"

If the phrase is highlighted in the returned description then you know the search engine found it. If you enter a quoted string, google seems to change the returned description from the one served by the page to the area that includes you quoted text.

10% popularity Vote Up Vote Down


 

@Kristi941

In general, JavaScript is not search engine friendly and by default you should assume that any content generated by it will be invisible to the search engines. Crawlable Ajax being the only definitive exception (which is supported only by Google).

However, there is a lot of talk of Googlebot processing JavaScript so although it has not been confirmed by Google it is possible that Google can find content created by JavaScript.

Notice how I keep saying Google? Unfortunately they aren't the only search engine. Additionally, crawlable Ajax is a terrible idea (more and more) and bad for accessibility and there are other search engines out there that won't find this content. So, as always, use progressive enhancement. Make sure that content can be reached without JavaScript being enabled.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme