Detect ad blockers in 2 KB. Show or hide any content depending on whether your visitor uses an ad blocker — zero config, no external requests, no perf …
As of April 2026, Tiny Simple AdBlock Detector is a WordPress ads plugin with 10 active installations and a 0/5 rating0. It has been downloaded 1.7K+ times in total. Requires WordPress 5.0+ and PHP 7.4+. Available on WordPress.org since 2016. Actively maintained — updated within the last month. Top alternative: Google for WooCommerce.
Over 40% of internet users run an ad blocker. Tiny Simple AdBlock Detector gives you the power to respond — politely ask visitors to whitelist your site, gate premium content, or simply track awareness — all without touching a line of JavaScript yourself.
The plugin loads a tiny decoy script with a filename that ad blockers love to block. When the script gets blocked, a lightweight CSS class swap kicks in — revealing or hiding any element you’ve marked up. That’s it. No jQuery, no external services, no tracking pixels, no cookie banners.
class="show-only-when-adblock" — Element appears only when an ad blocker is active.class="hide-only-when-adblock" — Element disappears when an ad blocker is active.Add them to any HTML…
| WordPress | 5.0+ requiredTested up to 7.0 |
| PHP | 7.4+ required |
…and 3 more changes
Plugin data sourced from WordPress.org. Analysis and metrics by PluginSift.