AXP Script Removal Test (Bot-Only)

This page demonstrates how the AXP worker’s REMOVE_SCRIPTS action serves a bot-friendly version of your content by stripping all script tags from the HTML response.

What this shows

When recognized search engine bots access this page through the AXP worker with REMOVE_SCRIPTS enabled, all script tags are removed. Human visitors see the normal, fully functional page.

Why remove scripts for bots

What gets removed

All of the following are removed for bots:

Note: The REMOVE_SCRIPTS action strips all script tags. If you rely on any script-based enhancements for bots (e.g., inline JSON-LD), make sure you deliver equivalent static or server-rendered content for crawlers.

What stays visible

All static, non-JavaScript content remains fully accessible to bots:

How to test

Use a bot user agent to fetch this page and confirm script removal:

curl -A "Googlebot/2.1" https://goatcrm.org/test-scripts