Skip to content

ads: subtle "Advertisement" label above served units, linking to CrawlProof - #99

Merged
ralyodio merged 1 commit into
masterfrom
ads/advertisement-label
Jul 17, 2026
Merged

ralyodio merged 1 commit into
masterfrom
ads/advertisement-label

Conversation

@ralyodio

Copy link
Copy Markdown
Contributor

What

Renders a small "Advertisement" disclosure caption above each served ad unit that links back to CrawlProof — free promotion for the network and a clearer ad disclosure for publishers.

Style (per the ask)

  • Subtle — muted grey (#8a94a3), uppercase, 9px, opacity:.75. Reads quietly on light or dark host pages.
  • No underline — text-decoration:none.
  • Links to crawlproof.com (with a utm_source=ad-label tag) in a new tab.
  • Skipped for the native text link, which already carries its own "Sponsored" mark (avoids double-labeling).

Changes

  • app/ad.js/route.ts — prepend the caption <a> before the unit iframe in fill().

Notes

🤖 Generated with Claude Code

…lProof

Render a small disclosure caption above each served ad unit that links
back to CrawlProof — free promotion for the network, and a clearer ad
disclosure for publishers. Muted grey, uppercase 9px, no underline, so
it stays quiet on any host page. Skipped for the native text link, which
already carries its own "Sponsored" mark.

- app/ad.js/route.ts: prepend the caption <a> before the unit iframe

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown

vu1nz Security Review

0 finding(s) in PR #?

No security issues found.

@ralyodio
ralyodio merged commit 530d03d into master Jul 17, 2026
8 checks passed
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