Step 2
Move the main content into the HTML response
Script-dependent content is invisible to AI crawlers. Vercel and MERJ measured five major AI crawlers in December 2024 and reported that none renders JavaScript. Detection diffs the scripted and unscripted responses. Verification requires zero elements lost with scripting off.
The fault. The main content assembles in the browser, so a human reader sees a complete page and an agent receives an empty shell. Vercel and MERJ measured this across five agents in December 2024 — GPTBot, OAI-SearchBot, ChatGPT-User, ClaudeBot and PerplexityBot — and stated the finding without qualification: "None of the major AI crawlers currently render JavaScript." Navigation built from click handlers rather than anchors fails the same way, and it removes every page beyond the entry URL at once.
How it is detected. Each template is fetched twice: once with scripting enabled and once with scripting disabled. The two responses are reduced to their text and their anchor lists, then compared element by element. Every element present in the scripted render and absent from the unscripted response is recorded with the script that produces it. A boilerplate ratio is recorded beside it — main-content bytes measured against total response bytes.
The repair. Main content moves into the response the server sends. Static generation, server-side rendering and prerendering all satisfy that condition, and the choice belongs to the existing stack rather than to a preferred one. Navigation is rewritten as <a href> anchors present in the raw HTML at every breakpoint. Interstitials, consent overlays and age gates are removed from the templates an assistant retrieves.
How the repair is verified. The scripts-off diff re-runs against the same templates. The repair passes on one condition: zero elements present in the scripted render and absent from the unscripted response. The H1 string, the full H2 set, the body text of every section and every navigation anchor are checked by name inside the raw response, and the before-and-after element counts are published in the re-test report.