Skip to content

Cloudflare Worker: drop the "why the worker doesn't add the script" section - #120

Merged
forgetso merged 1 commit into
mainfrom
docs/drop-why-no-script-section
Oct 20, 2026
Merged

forgetso merged 1 commit into
mainfrom
docs/drop-why-no-script-section

Conversation

@forgetso

Copy link
Copy Markdown
Member

Removes the section added in #119, which I shouldn't have added.

It explained an absence — why the worker doesn't edit your HTML. A customer following an install guide doesn't need that; they need to know to add the script, which 2a. Add the Protect script to your pages already tells them. Same category as the "earlier releases had SITE_KEY" asides removed in #118, and I missed that when porting it.

The paragraph above it still says the client-side part is two <script> tags you add to your pages, so nothing load-bearing is lost.

Test coverage

astro build passes, 417 pages. The heading and its id are gone from the rendered page, and every cloudflare-worker#… anchor used by any page in the site still resolves — nothing linked to the removed section's anchor, which is why it comes out cleanly.

🤖 Generated with Claude Code

…ection

Reverts the section added in #119. It explained an absence, which is not
something a customer following an install guide needs: they need to know to
add the script, which the install step tells them.

Nothing linked to its anchor, so it comes out cleanly.

astro build passes, 417 pages. The heading and its id are gone from the
rendered page and every cloudflare-worker# anchor used anywhere in the site
still resolves.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@netlify

netlify Bot commented Oct 20, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for peaceful-pothos-9e62ce ready!

Name Link
🔨 Latest commit 8962d29
🔍 Latest deploy log https://app.netlify.com/projects/peaceful-pothos-9e62ce/deploys/6ad78494f5dae9f8a4c93ef6
😎 Deploy Preview https://deploy-preview-120--peaceful-pothos-9e62ce.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@forgetso
forgetso merged commit a3e98b6 into main Oct 20, 2026
5 of 6 checks passed
@forgetso
forgetso deleted the docs/drop-why-no-script-section branch October 20, 2026 15:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant