Without JavaScript
Part 6 · Reading a page4 minSwitch JavaScript off and see what an agent gets of a page: app shells, prices loaded late, consent walls, a different page for bots, and facts drawn as pictures.
What the server sends
This page is built on the server: every part arrives in the first response. Switch JavaScript off, and nothing goes.
A scan reads the HTML the server sent and counts the words in its main content. On this page, that is all of them.
Why it matters. If the words are in the first response, every agent gets them, whatever it can run.
An app shell
Many sites send a shell: a menu, an empty box, and a script that draws the rest in the browser.
People never notice. Most crawlers and fetchers run no script, so they get the menu and nothing else.
- Rendering
- Turning code and data into the page a person sees, on the server or in the browser.
Why it matters. A page built entirely in the browser is, to most agents, an empty page with a menu.
Half and half
Most pages are mixed. Here the name and the description come from the server, but price, stock and reviews are fetched by a script.
An agent can say what the product is, and nothing about what it costs or whether it is in stock.
Why it matters. Check which parts arrive late. The price and the stock are usually the ones that matter most.
Behind a wall
Some pages put a consent wall or a sign-in box over everything until a person clicks. An agent cannot click.
It reads the wall’s forty words and leaves. A scan looks for the consent platforms that draw these walls, and for redirects to sign-in pages.
Why it matters. A consent or sign-in wall in the HTML hides everything under it from an agent, however open the page is.
Different for bots
Some sites send bots a different page. When the facts differ, an agent repeats what no visitor sees.
A scan compares what GPTBot, ClaudeBot and PerplexityBot get with what a browser gets, by names, prices and headings, not bytes.
- Cloaking
- Showing search engines or bots different content from what people see.
Why it matters. Serve agents the page people see. Different facts for bots is cloaking, and it reads as a trick.
Text in a picture
Some facts reach the page only as pixels: a spec table saved as an image, a price on a banner.
An agent reading text gets nothing from them. A scan compares the area pictures take in the content with the text around them.
Why it matters. Facts drawn as pictures are not text. Put the numbers in words, and describe the picture.
What to aim for
The substance of the page belongs in the first response: name, price, stock, the main text, as words.
Scripts can still add what is nice to have. An agent misses nothing important without them.
Why it matters. The test is simple: switch JavaScript off, and see whether the answer is still on the page.