oweb studio oweb studio

Detect AdBlock

Detect ad blockers and show your visitors a warning in a dialog or a banner

Manual

Download

… and extract the folder to site/plugins/kirby-detect-adblock

Git Submodule

Features

🛡️ Detects ad blockers
Invisible bait elements and a bait script served by your own site.
🪟 Modal or banner
A dialog that asks visitors to disable their ad blocker, or a banner they can close.
🍪 No cookies
A closed banner stays hidden for a while, stored in the browser without a cookie.
🌍 Translated
Texts in English, German and Turkish that follow the page language, or your own texts.
🧩 JavaScript events
React in your own way with the adblock:checked and adblock:detected events.
🎨 Your own warning
Override the snippet to show your own markup.
Version
1.0.2
License
MIT
Stars
0
Implements
Kirby support
  • Kirby 5
  • Kirby 4
  • Kirby 3
More