Skip to content

Add a CrawlProof ad unit (text_link frame) on public pages - #316

Merged
ralyodio merged 1 commit into
masterfrom
feat/crawlproof-ads
Oct 19, 2026
Merged

ralyodio merged 1 commit into
masterfrom
feat/crawlproof-ads

Conversation

@ralyodio

Copy link
Copy Markdown
Contributor

One CrawlProof ad unit, rendered as a script-free cross-origin iframe (/api/ads/frame?slot=9c3d6e3d-ae1f-43ff-b6d9-4f42f11725ce&format=text_link), placed between <main> and the footer.

  • CSP: adds frame-src https://crawlproof.com only (srcdoc ad.js would need unsafe-inline styles + open img-src).
  • Shown on indexable public pages only; skipped on noindex pages and flows (tracker, post, me, inbox, notifications, auth, invoices...).
  • text_link is fluid, carries its own Sponsored mark; no theme param (frame follows prefers-color-scheme).
  • sw.js VERSION bumped for the app.css change; test added.

🤖 Generated with Claude Code

One text_link unit served as a cross-origin /api/ads/frame iframe for slot
9c3d6e3d-ae1f-43ff-b6d9-4f42f11725ce. The board's strict CSP gains only
frame-src https://crawlproof.com; no ad.js, no extra script or storage.
Skipped on noindex pages and on flows (tracker, post, me, inbox, auth...).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@ralyodio
ralyodio merged commit c10f86b into master Oct 19, 2026
4 checks passed
@ralyodio
ralyodio deleted the feat/crawlproof-ads branch October 19, 2026 07:50
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