Google Warns Not To Serve "Not Available" With JavaScript

Feb 16, 2026 - 7:41 am 0 by

Google Code

Google's John Mueller warned one site owner not to load "not available" in the JavaScript before the actual content that loads is available. It can lead Google to believe the page does not exist, preventing indexing and ranking in Google Search.

To be clear, that site is changing "not available' via JavaScript and not publishing that via JavaScript.

A Reddit thread named "Google Might Think Your Website Is Down" is where this discussion came up.

John Mueller replied to the concern saying, "Is that your site? I'd recommend not using JS to change text on your page from "not available" to "available" and instead to just load that whole chunk from JS."

He explained "That way, if a client doesn't run your JS, it won't get misleading information."

He said this was similar to Google's advice on not using noindex tags on JS pages. John added, "This is similar to how Google doesn't recommend using JS to change a robots meta tag from "noindex" to "please consider my fine work of html markup for inclusion" (there is no "index" robots meta tag, so you can be creative)."

In short, by the time Google crawls the page, it only sees it is not available and then it goes away. It doesn't want to wait longer for a different message to come up, because that is the message Google received.

Forum discussion at Reddit.

 

Popular Categories

The Pulse of the search community

Search Video Recaps

 
- YouTube
Video Details More Videos Subscribe to Videos

Most Recent Articles

Search Forum Recap

Daily Search Forum Recap: March 6, 2026

Mar 6, 2026 - 10:00 am
Search Video Recaps

Search News Buzz Video Recap: Google Heat Continues, AI Mode Recipe Link Cards, ChatGPT Web Search With Fewer Links & AI-Generated Search Landing Pages

Mar 6, 2026 - 8:01 am
Google Search Engine Optimization

Google: Most Sites Don't Need To Disavow Links But That's Not All Sites

Mar 6, 2026 - 7:51 am
Bing Search

Bing Search Tests Go To Shopping Button

Mar 6, 2026 - 7:41 am
Bing Ads

Bing With Asian Owned Labels On Microsoft Ads

Mar 6, 2026 - 7:31 am
Google Ads

Google Local Service Ads Won't Credit Calls For Existing Clients (Not Lead)

Mar 6, 2026 - 7:21 am
 
Previous Story: New Google Ads Calculate Your Conversion Value For New Customers