Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm using .load to load content from a page /about.html, so that search engines can see what is going on. I've made the links that trigger the .load <a> tags to the page /about.html but for usability I have overridden these using e.preventDefault; as part of the .load script.

Is this considered bad / dangerous / black hat, and seeing as Google bot can't see JS will it see this?

bit of a side question but can Google bot see the JS code and analyse what it does? Or does it completely disregard it, its function and its results?

share|improve this question
up vote 2 down vote accepted

Progressive enhancement is not cloaking as long as it really is progressive enhancement. If the JavaScript is serving the same content but making the user experience better then that's fine and encouraged. It's only bad when you're serving different content to the search engines then you are to users for the sake of manipulating your rankings.

As for your second question, most JavaScript is not parsed by search engines but they do handle some JavaScript and Google does crawl ajax if you follow their standard,.

share|improve this answer

Try in Webmaster Tools > yourpage.com > Labs > Instant Previews

Page look same? -> NO PROBLEMO

In other case, it looks as cloaking -> try to fix it.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.