Skip to content

site: diagram survives ad blockers (rename ad-* classes) - #42

Merged
Jimuelle07 merged 1 commit into
mainfrom
fix/site-adblock-diagram
Nov 13, 2026
Merged

Jimuelle07 merged 1 commit into
mainfrom
fix/site-adblock-diagram

Conversation

@Jimuelle07

Copy link
Copy Markdown
Owner

EasyList generic rules (##.ad-box:not(#ad-banner):not(:empty), ##.ad-title, ##.ad-label, ###ad-head) hid the payment-path diagram's boxes, titles, arrow labels and arrowheads for anyone with an ad blocker. Renamed the ad/ad-* prefix to pp/pp-* in ArchitectureDiagram.jsx, styles.css, motion.js.

Verified: npm test 45/45, npm run build; with all 27,542 generic hide rules from EasyList, AdGuard Base and uBlock filters injected, no page element matches at 1440 or 390 px and the diagram renders fully.

EasyList hides .ad-box, .ad-title, .ad-label and #ad-head on every site, so
with an ad blocker the payment-path diagram lost its boxes, titles, arrow
labels and arrowheads. Renamed the whole ad/ad-* prefix to pp/pp-*.
@Jimuelle07
Jimuelle07 merged commit 5f9ebd9 into main Nov 13, 2026
@Jimuelle07
Jimuelle07 deleted the fix/site-adblock-diagram branch November 14, 2026 06:02
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