The Moz Q&A Forum

    • Forum
    • Questions
    • My Q&A
    • Users
    • Ask the Community

    Welcome to the Q&A Forum

    Browse the forum for helpful insights and fresh discussions about all things SEO.

    1. SEO and Digital Marketing Q&A Forum
    2. Categories
    3. Technical SEO Issues
    4. Is using JavaScript injected text in line with best practice on making blocks of text non-crawlable?

    Is using JavaScript injected text in line with best practice on making blocks of text non-crawlable?

    Technical SEO Issues
    2 2 201
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as question
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Coraltoes77
      Coraltoes77 last edited by

      I have an ecommerce website that has common text on all the product pages, e.g. delivery and returns information.

      Is it ok to use non-crawlable JavaScript injected text as a method to make this content invisible to search engines?  Or is this method frowned upon by Google?

      By way of background info - I'm concerned about duplicate/thin content, so want to tackle this by reducing this 'common text' as well as boosting unique content on these pages.

      Any advice would be much appreciated.

      1 Reply Last reply Reply Quote 0
      • Everett
        Everett last edited by

        I haven't found standard shipping info text to be much of a problem in terms of duplicate content on product pages, but if you're concerned about it I would consider an iframe.

        While hiding the content in a non-crawlable .js file might work, it isn't advisable. First, Google PreviewBot can parse javascript on the page and see the content in many cases, as is necessary to generate the site preview and visual cache of a page. Second, anything that keeps Google from being able to properly render the page may be considered suspect.

        Please view this video by Matt Cutts: http://www.youtube.com/watch?v=B9BWbruCiDc

        Essentially, he says "Don't block Google bot from css or javascript".

        1 Reply Last reply Reply Quote 1
        • 1 / 1
        • First post
          Last post
        • Brushing up on my SEO skills - how do I check my website to see if Javascript is blocking search engines from crawling the links within a javascript-enabled drop down menu?
          Martijn_Scheijbeler
          Martijn_Scheijbeler
          0
          3
          64

        • Best Practice for www and non www
          salem4e
          salem4e
          0
          4
          8.4k

        • Best Practice - Disavow tool for non-canonical domain, 301 Redirect
          Andy.Drinkwater
          Andy.Drinkwater
          0
          2
          260

        • 404 Best Practices
          Paddy_Moogan
          Paddy_Moogan
          0
          5
          183

        • Should I use canonicals? Best practice?
          anneoaks
          anneoaks
          0
          3
          79

        • Which is the best way of make text bold?
          RyanKent
          RyanKent
          0
          2
          691

        • Anchor Text the best way to use it
          ClaireH-184886
          ClaireH-184886
          0
          3
          545

        • Our Development team is planning to make our website nearly 100% AJAX and JavaScript. My concern is crawlability or lack thereof. Their contention is that Google can read the pages using the new #! URL string. What do you recommend?
          john4math
          john4math
          0
          2
          651

        Get started with Moz Pro!

        Unlock the power of advanced SEO tools and data-driven insights.

        Start my free trial
        Products
        • Moz Pro
        • Moz Local
        • Moz API
        • Moz Data
        • STAT
        • Product Updates
        Moz Solutions
        • SMB Solutions
        • Agency Solutions
        • Enterprise Solutions
        • Digital Marketers
        Free SEO Tools
        • Domain Authority Checker
        • Link Explorer
        • Keyword Explorer
        • Competitive Research
        • Brand Authority Checker
        • Local Citation Checker
        • MozBar Extension
        • MozCast
        Resources
        • Blog
        • SEO Learning Center
        • Help Hub
        • Beginner's Guide to SEO
        • How-to Guides
        • Moz Academy
        • API Docs
        About Moz
        • About
        • Team
        • Careers
        • Contact
        Why Moz
        • Case Studies
        • Testimonials
        Get Involved
        • Become an Affiliate
        • MozCon
        • Webinars
        • Practical Marketer Series
        • MozPod
        Connect with us

        Contact the Help team

        Join our newsletter
        Moz logo
        © 2021 - 2026 SEOMoz, Inc., a Ziff Davis company. All rights reserved. Moz is a registered trademark of SEOMoz, Inc.
        • Accessibility
        • Terms of Use
        • Privacy