1

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?

2 Answers 2

2

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

1

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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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