Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 5839021
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T11:31:50+00:00 2026-05-22T11:31:50+00:00

I have SHTML files which I’d like to implement the following: Step 1: Let’s

  • 0

I have SHTML files which I’d like to implement the following:

  • Step 1: Let’s say I have a SHTML page which displays “You must have Javascript turned on to view this content” by default / in a <noscript> tag.

The exact implementation of the next step doesn’t really matter.

  • Step 2: Then on page load, the JS requests a PHP script returns either:

    • 1 / 0 (in plain text) and depending on the result the JS either prints the intended content or a captcha form.
      OR
    • the intended content or a captcha form, and the JS prints it.

The main thing to take from this is that the content is printed by JavaScript. Will Google still index the pages just as before (including the content)? Will I need to add anymore code/directives? Will Google index just as often, etc.?

NOTE: Content will always be printed for Google. (No Captcha)

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-22T11:31:51+00:00Added an answer on May 22, 2026 at 11:31 am

    No. The Google bot does not support Javascript.

    See http://www.google.com/support/webmasters/bin/answer.py?answer=35769#2 :

    Use a text browser such as Lynx to examine your site, because most search engine spiders see your site much as Lynx would. If fancy features such as JavaScript, cookies, session IDs, frames, DHTML, or Flash keep you from seeing all of your site in a text browser, then search engine spiders may have trouble crawling your site.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have two xml files which have the same data but different names for
I have a number of .js files that I would like to be stored
I have an index.php file that loads other php files via this javascript/ajax code:
I have a website with separate HTML files (actually .shtml, but this is unimportant
I have 3 files: index.php,.htaccess,404.shtml index.php contains: <?php header($_SERVER[SERVER_PROTOCOL]. 404 Not Found); ?> .htaccess
I have the following code inside the body of my index.php page: echo Begin
I have two files like below SomeClass.php class SomeClass { public function display() {
I have a aspx page where I build an static url (.shtml) and at
We have in a htaccess file: ErrorDocument 404 /404.shtml Which works to show the
I have multiple html files, which is to be combined into a single html

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.