Skip to content

Update the Proxy-Injected Script Paragraph to the Measured Cloudflare Settings #581

Closed

Description

@ptr727

deploy/README.md says Cloudflare's Rocket Loader, Email Address Obfuscation, and Web Analytics "each inject one, so each stays off". That no longer matches the host side, and part of the reason was disproved on 2026-11-05.

Measured on 2026-11-05 against the live blog and family site:

  • JavaScript detections. They inject an inline loader script, which both sites' script-src blocks. checks/csp_browser_gate.py failed with script-src-elem blocked inline, so they stay off on the Blog zones.
  • Email Address Obfuscation. On a post holding an address, the edge rewrites the address. It also adds /cdn-cgi/scripts/.../email-decode.min.js, which is same-origin, so script-src 'self' allows it. The CSP browser gate passed over such posts. So obfuscation is now on for every zone.
  • Rocket Loader rewrites script tags, which breaks the hash-allowed inline scripts. Web Analytics stays off on every zone.

Fix: reword that paragraph to name what stays off and why: Rocket Loader, JavaScript detections, Web Analytics, and Zaraz. Obfuscation is on and passes the gate.

The host-side source of truth is Cloudflare/zones.json and its README in ptr727/HomeAutomation-Config, as changed by ptr727/HomeAutomation-Config#1714.

🤖 Generated with Claude Code

Activity

  1. added a commit that references this issue on Nov 5, 2026
    370fe8c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions