Content using Javascript - Good or bad idea?!

2 replies
  • SEO
  • |
Hi,

I'm using Blogger for my news website. I'm displaying the content of Homepage using javascript. Is it good or bad idea considering SEO?!

I tested my website with "PageSpeed Insights", it shows 80/100. However, the page suggested me to remove the render-blocking scripts. Those scripts are the one printing the content.

What should i do now?
#bad #content #good #idea #javascript
  • Profile picture of the author Brennen Noble
    Originally Posted by BreakTheSec View Post

    Hi,

    I'm using Blogger for my news website. I'm displaying the content of Homepage using javascript. Is it good or bad idea considering SEO?!

    I tested my website with "PageSpeed Insights", it shows 80/100. However, the page suggested me to remove the render-blocking scripts. Those scripts are the one printing the content.

    What should i do now?
    You're saying that the content is 100% dynamically injected via javascript during/after the page loads?

    I can't even think of a reason you would do that, but I'd say it wouldn't be ideal for SEO purposes. Also, make sure the javascript that is being executed is wrapped inside a document.(ready) function and placed just before the </body> tag to ensure that it isn't being run before the main document has been fully loaded.
    Signature
    Over 2400 Warriors Use SoreThumb On Their Sites, Do You?
    {{ DiscussionBoard.errors[8859986].message }}
    • Profile picture of the author BreakTheSec
      Take a look at my website " ehackingnews.com/". I'm using Blogger. In blogger, js is only way to display categorize-wise posts. I'm also using "<noscript>" to show different content when js is disabled in user's browser.

      I forgot to mention that it is only in the Home page of my website

      Originally Posted by Brennen Noble View Post

      You're saying that the content is 100% dynamically injected via javascript during/after the page loads?

      I can't even think of a reason you would do that, but I'd say it wouldn't be ideal for SEO purposes. Also, make sure the javascript that is being executed is wrapped inside a document.(ready) function and placed just before the </body> tag to ensure that it isn't being run before the main document has been fully loaded.
      {{ DiscussionBoard.errors[8860078].message }}

Trending Topics