FAQ

how to allow third-party scripts safely

Add only the exact third-party origins you use, review what the script loads after execution, and avoid broad patterns like https: whenever you can.

Safer approach

  • Whitelist the exact host in script-src.
  • Check whether it also needs connect-src, img-src, or frame-src.
  • Prefer vendors with stable documented domains.
  • Remove vendors you no longer use instead of letting the allowlist grow forever.

Next step

Open the generator, add only the exact origin you need, then verify the change with the checker before you ship it.

Official references