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. Intermediate & Advanced SEO
    4. Charity project for local women's shelter - need help: will Google notice if you alter the document title with Javascript after the page loads?

    Charity project for local women's shelter - need help: will Google notice if you alter the document title with Javascript after the page loads?

    Intermediate & Advanced SEO
    12 4 660
    • 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.
    • jkonowitch
      jkonowitch last edited by

      I am doing some pro-bono work with a local shelter for female victims of domestic abuse. I am trying to help visitors to the site cover their tracks by employing a document.title change when the page loads using JavaScript. This shelter receives a lot of traffic from Google. I worry that the Google bots will see this javascript change and somehow penalize this site or modify the title in the SERPs. Has anyone had any experience with this kind of javascript maneuver? All help would be greatly appreciated!

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

        How is that going to cover their tracks? the origianl title will show in any history. and you can simply use in private browsing to hide where you have visited if that is your aim. Gogole may not notice but if and when they do you will be done for cloaking.

        jkonowitch 1 Reply Last reply Reply Quote 0
        • RyanKent
          RyanKent last edited by

          Security and Accessibility are always at odds. The easier information is to access, the less secure it is and vice versa.

          You can place your site behind a login which would require all users to register. Google will then have a lot less information about your site and any visitor activity. The problem will then be your pages will no longer be listed in Google's index.

          Any additional security really needs to come from the end of the person surfing your site. They could visit your site through a proxy server, clear cache, clear cookies, etc. You can help users by educating them on these steps. There are numerous counter-balances as well. If you are attempting to improve user security, the above can help but it is far from perfect. A pc can have tracking software installed, a router can trace activity, etc.

          jkonowitch 1 Reply Last reply Reply Quote 1
          • randfish
            randfish last edited by

            jkonowitch - if you want to email me privately with more detail, I'd be happy to help and leverage any contacts I can as well (if necessary). Broadly speaking, I might suggest that a javascript title change may be less valuable than helping visitors understand how to more fully remove obvious signs in their browser/on their computer.

            jkonowitch 1 Reply Last reply Reply Quote 1
            • jkonowitch
              jkonowitch @randfish last edited by

              Thank you, Rand. I'll be emailing you shortly.

              1 Reply Last reply Reply Quote 0
              • jkonowitch
                jkonowitch @RyanKent last edited by

                Ryan, thank you so much for your thorough answer. I appreciate the help!

                1 Reply Last reply Reply Quote 0
                • jkonowitch
                  jkonowitch @AlanMosley last edited by

                  Alan, thank you. Changing the title does refresh how the entry appears in the browser history. The cloaking issue is what I am worried about - you believe Google will see this and penalize?

                  AlanMosley jkonowitch 5 Replies Last reply Reply Quote 0
                  • AlanMosley
                    AlanMosley @jkonowitch last edited by

                    does it? OK I didnt think it would.

                    There is a way of making sure you do not appear in the history but i cant remember how it was done.

                    give me a moment and illl try and find an old website where i did somthingh like this.

                    1 Reply Last reply Reply Quote 0
                    • AlanMosley
                      AlanMosley @jkonowitch last edited by

                      There is a way of replacing your page in history, but this does not remove it from the address bar drop down, I think this was a way for old browsers. I am not sure if it is clocking either.

                      window.location.replace('fakePage.html')

                      There is a way to check if the user is uing private browsing, but its not easy, you need to check the color of a visisted link. But by this time they have already landed on your page.

                      I have to say i dont know a way around, if i think of somthing I will get back

                      1 Reply Last reply Reply Quote 0
                      • AlanMosley
                        AlanMosley @jkonowitch last edited by

                        There is a way to do this but you need to be using ASP.Net and is a fair bit of work http://msdn.microsoft.com/en-us/library/cc488548.aspx

                        These 2 solutions do not remove from addres bar in IE, but do remove from history

                        history.go(-1);

                        window.location.href = 'http://thatsit.com.au'

                        window.location.replace('fakePage.html')

                        1 Reply Last reply Reply Quote 1
                        • jkonowitch
                          jkonowitch @jkonowitch last edited by

                          Alan -

                          Wow, great response. I really appreciate your help. The ASP solution does look sophisticated; I think I will look into that as a longer term solution/more sustainable solution.

                          Cheers!

                          Jeff

                          1 Reply Last reply Reply Quote 0
                          • AlanMosley
                            AlanMosley @jkonowitch last edited by

                            I would set up a test first, as i have not used it myself. It may not work on all browsers.

                            good luck

                            1 Reply Last reply Reply Quote 0
                            • 1 / 1
                            • First post
                              Last post
                            • How long will old pages stay in Google's cache index. We have a new site that is two months old but we are seeing old pages even though we used 301 redirects.
                              DonnaDuncan
                              DonnaDuncan
                              0
                              3
                              81

                            • Google's 'related:' operator
                              EpicWebStudios
                              EpicWebStudios
                              0
                              5
                              209

                            • Our client's web property recently switched over to secure pages (https) however there non secure pages (http) are still being indexed in Google. Should we request in GWMT to have the non secure pages deindexed?
                              N1ghteyes
                              N1ghteyes
                              0
                              3
                              128

                            • We are switching our CMS local pages from a subdomain approach to a subfolder approach. What's the best way to handle this? Should we redirect every local subdomain page to its new subfolder page?
                              Ray-pp
                              Ray-pp
                              0
                              4
                              123

                            • My landing page changed in google's serp. I used to have a product page now I have a pdf?
                              KenyonManu3-SEOSEM
                              KenyonManu3-SEOSEM
                              0
                              9
                              326

                            • There's a website I'm working with that has a .php extension. All the pages do. What's the best practice to remove the .php extension across all pages?
                              digisavvy
                              digisavvy
                              0
                              5
                              445

                            • Is 404'ing a page enough to remove it from Google's index?
                              RyanKent
                              RyanKent
                              0
                              4
                              13.7k

                            • We are changing ?page= dynamic url's to /page/ static urls. Will this hurt the progress we have made with the pages using dynamic addresses?
                              h3counsel
                              h3counsel
                              0
                              3
                              806

                            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