Spring Webinar: See what's new! Join us on May 15th! 🌟
AXP Test Page - Remove Scripts

Script Removal Test

This page demonstrates how all script tags are removed when accessed by search engine bots

Page Without Scripts

When search engine bots access this page through the AXP worker with REMOVE_SCRIPTS action, all script tags will be stripped from the HTML response. This is useful for:

  • •Preventing execution of tracking scripts by bots
  • •Reducing page weight for faster bot crawling
  • •Avoiding JavaScript-dependent content in search results
  • •Simplifying HTML for better indexing

Scripts on This Page

This page includes several types of scripts that will be removed for bots:

Analytics Script (Inline)

<script>console.log('Analytics tracking');</script>

External Script (CDN)

<script src="https://cdn.example.com/tracking.js"></script>

Next.js Script Component

<Script src="/widget.js" strategy="afterInteractive" />

Static Content

This content does not depend on JavaScript and will be fully accessible to search engine bots even after script removal.

Feature 1

Static HTML content that bots can index

Feature 2

No JavaScript required for rendering

Feature 3

SEO-friendly structured content

Testing Instructions

To test this page, access it with a bot user agent:

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

All script tags will be removed from the HTML response.