Add CrawlProof ad units#130
Closed
crawlproof[bot] wants to merge 1 commit into
Closed
Conversation
vu1nz Security Review0 finding(s) in PR #? No security issues found. |
Contributor
|
Superseded by in-content, logged-out-only ad placement on master (AdBanner/AdRectangle across /dht, /torrents, /blog + their detail pages). The ad.js loader is now global, so this PR's below-footer divs would double-load it and are redundant. |
ralyodio
added a commit
that referenced
this pull request
Jul 17, 2026
Add an auth-gated <AdUnit>/<AdBanner>/<AdRectangle> component (renders only for logged-out visitors) and place units in-content across /dht, /torrents, and /blog lists (728x90 leaderboard / 320x50 mobile) and their detail pages (300x250 rectangle). Load crawlproof ad.js globally in the root layout and trigger scan() on mount since the loader scans once and does not observe DOM mutations. Replaces PR #130's below-footer, ungated ad divs. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR adds the CrawlProof ad units so this site can show network ads and earn crypto for clicks.
aa961cc7-96e6-4f77-b065-e962cd7bce6fbanner_300x250,banner_728x90,banner_320x50,text_linksrc/app/layout.tsxbefore</body>. Move or delete any you don't want — empty units simply don't render.Each unit renders inside a sandboxed iframe and never blocks page load. Manage the slot at https://crawlproof.com/ads/slots