Directory / plugin

WPSP Ad Blocker Alert

v4.4.7 · by WP Small Plugins

Detects visitors using ad blockers and shows a polite, customizable notification popup asking them to disable it.

About this plugin

WPSP Ad Blocker Alert checks whether a visitor’s browser is blocking ads, using two tests (a CSS bait element and a script bait request), and shows a notification popup over blurred page content.

Features

  • Detects common ad blockers, including uBlock Origin, AdBlock Plus, Brave Shields and AdGuard
  • Customizable notification message (HTML allowed)
  • Blur + popup overlay with adjustable intensity and colors
  • Permanent or temporary display mode
  • Whitelist specific URL paths to bypass detection on chosen pages
  • Random element IDs on every page load, which makes the popup harder for filter lists to target
  • Inline script delivery: the detection script is printed into the page instead of loaded from a separate file
  • Test mode: append ?wpsp_ad_blocker_alert_test=1 to any URL to preview without an ad blocker
  • Debug mode: append ?wpsp_ad_blocker_alert_debug=1 to see a diagnostic overlay

Upgrade to Pro

WPSP Ad Blocker Alert Pro adds:

  • Polite Notice — non-blocking top banner instead of a hard popup
  • Content Paywall — hides content below the fold with a gradient gate
  • Email Opt-in — show a newsletter signup form as the gate (Mailchimp integration included)
  • Analytics Dashboard — charts and tables tracking blocked vs clean visits over time
  • Consent / GDPR mode — skip detection if the visitor hasn’t accepted cookies
  • Export opt-in emails to CSV

Plugin tags