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. Hiding text with Javascript and a more button

    Hiding text with Javascript and a more button

    Technical SEO Issues
    3 3 726
    • 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.
    • mascotmike
      mascotmike last edited by

      I am considering putting a block of text on may pages, that initially appears as a snippet with a 'show more' button that expands to show the whole lot.

      Question: If the search engines can see the whole lot, but the visitor only sees the snippet until they click 'show more' then is this cloaking? Is it a really bad idea? Or can I get away with it because I am not being deceptive just improving the design?

      Help!

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

        It doesn't sound like you're being deceptive, just trying to provide a better user experience.

        In general, if you don't feel comfortable explaining what you're doing to a google employee, you probably shouldn't be doing it.

        In my opinion, what you're doing is fine, and I wouldn't have a problem doing the same.

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

          Completely legitimate as long as you're not serving up one thing for the bots and something unrelated to your visitors.

          1 Reply Last reply Reply Quote 0
          • 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

          • Is using JavaScript injected text in line with best practice on making blocks of text non-crawlable?
            Everett
            Everett
            0
            2
            201

          • Is it better to have text is separate hidden divs or text stored in Javascript?
            SaforwebDesign
            SaforwebDesign
            0
            2
            289

          • Hiding Duplicate Content using Javascript
            MagicDude4Eva
            MagicDude4Eva
            0
            3
            531

          • Text hidden by button?
            TheSEODR
            TheSEODR
            0
            2
            297

          • Google + button
            jennita
            jennita
            0
            6
            354

          • Text in div
            MarieHaynes
            MarieHaynes
            0
            7
            728

          • Can Google read text in Javascript?
            mickey11
            mickey11
            0
            3
            984

          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