Title: ZDN Adblock Detector
Author: cuongquach
Published: <strong>4 vasario, 2025</strong>
Last modified: 28 vasario, 2026

---

Ieškoti įskiepiuose

![](https://ps.w.org/zdn-adblock-detector/assets/banner-772x250.png?rev=3234843)

![](https://ps.w.org/zdn-adblock-detector/assets/icon-256x256.png?rev=3234843)

# ZDN Adblock Detector

 Autorius [cuongquach](https://profiles.wordpress.org/cuongquach/)

[Parsisiųsti](https://downloads.wordpress.org/plugin/zdn-adblock-detector.1.1.2.zip)

 * [Informacija](https://lt.wordpress.org/plugins/zdn-adblock-detector/#description)
 * [Atsiliepimai](https://lt.wordpress.org/plugins/zdn-adblock-detector/#reviews)
 *  [Diegimas](https://lt.wordpress.org/plugins/zdn-adblock-detector/#installation)
 * [Kūrimas](https://lt.wordpress.org/plugins/zdn-adblock-detector/#developers)

 [Pagalba](https://wordpress.org/support/plugin/zdn-adblock-detector/)

## Aprašymas

ZDN Adblock Detector is a lightweight plugin that detects when visitors are using
ad blockers and displays a friendly message asking them to disable their ad blocker.
The plugin features:

 * Reliable adblock detection
 * Clean and modern overlay design
 * Customizable message and overlay content
 * Flexible modal closing options – let visitors close easily or enforce page reload
 * Multiple closing methods: X button, click outside, or main button
 * Smart modal reappearance control – configure when the modal shows again after
   being closed
 * **NEW**: Support for HTML code and links in the message area via Rich Text Editor
 * **NEW**: Enable/disable toggle to turn popup detection on or off
 * **NEW**: Front page only option to restrict popup to homepage only
 * **NEW**: Popup logging system to track which users see the popup
 * **NEW**: Admin dashboard with paginated popup logs and analytics
 * **NEW**: Delayed popup feature – show popup only after configurable page views
 * Flexible JavaScript loading options (external or inline)
 * Optional minified script for better performance
 * Proper internationalization support
 * Lightweight and fast
 * Easy to install and use

#### Modal Closing & Reappearance Options

Version 1.0.5 introduces advanced modal control with flexible closing and smart 
reappearance behavior:

 1. **Flexible Mode**: Visitors can close the modal using multiple intuitive methods:
 2.  * Click the X button in the top-right corner
     * Click outside the modal area
     * Click the main button without forcing a page reload
 3. **Force Reload Mode** (Default): Maintains the original strict behavior where visitors
    must reload the page to continue
 4. **Reappearance Control**: When modal closing is enabled, choose how the modal behaves
    after being closed:
 5.  * **No popup again** (Default): Modal never appears again once closed
     * **Popup each visit**: Modal appears on every new browser session
     * **Popup after N days**: Modal reappears after specified days (1-365)

Administrators can easily configure these options in the plugin settings to match
their site’s approach to adblock detection.

#### Popup Logging & Analytics

Version 1.0.6 introduces comprehensive popup tracking and analytics features:

 1. **User Activity Tracking**: Monitor which logged-in users encounter the adblock
    popup
 2. **Detailed Analytics**: View popup counts, timestamps, and user agent information
 3. **Paginated Admin Dashboard**: Browse logs with customizable page sizes (10, 25,
    50, 100, 200 items)
 4. **Privacy Controls**: Enable or disable logging as needed
 5. **User Management**: Track individual users with display names, emails, and popup
    frequency
 6. **Quick Access**: User names in logs link directly to their WordPress profile for
    fast management

The logging system helps administrators understand:
 * Which users are using adblockers*
How often the popup appears to specific users * Browser and device information for
better insights * Trends in adblock usage across your user base

All logging respects user privacy and only tracks logged-in users when explicitly
enabled.

#### Enable/Disable Controls

Version 1.0.6 also adds granular control options:

 1. **Master Enable/Disable**: Turn the entire popup system on or off instantly
 2. **Front Page Only**: Restrict popup detection to your homepage/front page only
 3. **Logging Toggle**: Enable popup tracking independently of the detection system

These controls allow administrators to fine-tune when and where the adblock detection
appears.

#### JavaScript Loading Options

The plugin offers two methods for loading the detection script:

 1. External File (Default): Loads the JavaScript from a separate file
 2. Inline JavaScript: Embeds the code directly in the page

Some browsers like Chrome may block external JavaScript files that detect ad blockers.
If the detector stops working, you can switch to Inline JavaScript mode in the settings.

#### Performance and Security

The plugin includes both regular and minified versions of the detection script. 
Using the minified version (enabled by default) provides:
 * Better performance 
through reduced file size * Additional protection against adblockers by making the
code harder to detect * Faster page load times

### Plugin Images

Banner: banner-772×250.png
 Icon: icon-256×256.png

## Ekrano nuotraukos

 * [[
 * Plugin settings page – Configure JavaScript loading method and minification options
 * [[
 * Adblock detection overlay – Clean, modern design that appears when an adblocker
   is detected

## Diegimas

 1. Upload the plugin files to the `/wp-content/plugins/zdn-adblock-detector` directory,
    or install the plugin through the WordPress plugins screen directly.
 2. Activate the plugin through the ‘Plugins’ screen in WordPress
 3. Go to Settings > ZDN Adblock Detector to configure:
 4.  * Enable/disable popup detection
     * Target specific pages (front page only option)
     * JavaScript loading method (external or inline)
     * Script version (minified or regular)
     * Modal closing behavior (flexible or force reload)
     * Popup logging and analytics (optional)
     * Customize overlay text and messages
 5. Optionally enable popup logging to track user interactions
 6. View analytics in the „Popup Logs” tab with paginated results
 7. The plugin will automatically start working based on your settings

## DUK

### How does it detect ad blockers?

The plugin uses multiple detection methods to reliably identify when ad blockers
are being used, including bait elements and behavior analysis.

### Is it compatible with my theme?

Yes, the plugin is designed to work with any WordPress theme.

### The detector stopped working in Chrome, what should I do?

If the detector stops working in Chrome:
 1. Go to Settings > ZDN Adblock Detector
2. Change the JavaScript Loading Method to „Inline JavaScript” 3. Make sure „Use
minified version” is enabled These settings will make the detection code harder 
for browsers and adblockers to block.

### Should I use the minified version?

Yes, we recommend using the minified version (enabled by default) as it:
 * Improves
performance * Makes the code harder for adblockers to detect * Reduces bandwidth
usage

### Can visitors close the modal without disabling their adblocker?

Yes! Version 1.0.4 introduces the „Allow Modal Closing” setting that gives administrators
full control:

**When Enabled (Flexible Mode):**
 * Visitors can click the X button to close the
modal * Visitors can click outside the modal to dismiss it * The main button closes
the modal without forcing a page reload

**When Disabled (Default – Force Reload Mode):**
 * Visitors must click the main
button, which forces a page reload * This maintains the original strict behavior
for maximum effectiveness

You can find this setting in Settings > ZDN Adblock Detector > Overlay Content section.

### How do I view popup analytics?

To access popup logs and analytics:
 1. Go to Settings > ZDN Adblock Detector 2.
Enable „Enable Popup Logging” in the main settings 3. Navigate to the „Popup Logs”
tab to view detailed analytics 4. Use the page size dropdown to customize how many
entries you see 5. Use pagination to browse through all logged popup events

### Does logging affect performance?

No, the logging system is designed to be lightweight:
 * Only tracks logged-in users
when explicitly enabled * Uses AJAX for non-blocking background logging * Database
queries are optimized with proper indexing * You can disable logging entirely if
not needed

### Can I restrict the popup to specific pages?

Yes! Version 1.0.6 includes page targeting options:
 * **Front Page Only**: Enable
this to show the popup only on your homepage/front page * **Disabled**: Turn off
the popup completely while keeping settings intact * More page targeting options
may be added in future versions

### Is user data private in the logging system?

Yes, privacy is prioritized:
 * Only logged-in users are tracked (when logging is
enabled) * Data includes user ID, display name, email, and technical information*
No personal browsing data outside of popup interactions is stored * Administrators
can clear all logs at any time * Logging can be completely disabled if privacy is
a concern

## Atsiliepimai

![](https://secure.gravatar.com/avatar/a61a3fe46da238ccd95abfc954213ec2486724e33b3a31caa2c3f6adf6aa27fb?
s=60&d=retro&r=g)

### 󠀁[It seems to work great!](https://wordpress.org/support/topic/it-seems-to-work-great/)󠁿

 [Eli](https://profiles.wordpress.org/realact/) 28 vasario, 2026 2 replies

Just added this to our site and it seems to be very effective. Haven’t noticed any
issues with it yet. It would be great if the author would add a way to add HTML 
on the message customization area, this would allow for example to add a link to
important info such as how to disable ad blockers etc. Thanks to the developers 
for creating this. Other than that awesome plugin!

![](https://secure.gravatar.com/avatar/f98381bd244959c717d98b7003dd668d8fc0f6f70323cb2a97873efde802b9d6?
s=60&d=retro&r=g)

### 󠀁[works perfect](https://wordpress.org/support/topic/works-perfect-1147/)󠁿

 [dhanamerdeka](https://profiles.wordpress.org/dhanamerdeka/) 21 sausio, 2026 1 
reply

hopefully the admin maintain this plugin. so they not dead just like other anti 
adblock

![](https://secure.gravatar.com/avatar/49a32698f9546080b650dc9a83f01f61f8f9075bf63a793b271a96cf232fdb6a?
s=60&d=retro&r=g)

### 󠀁[It works with Adblock and Adguard](https://wordpress.org/support/topic/it-works-with-adblock-and-adguard/)󠁿

 [Nikonn](https://profiles.wordpress.org/nikonn/) 17 gruodžio, 2025 1 reply

It works in the Chrome browser, defines Adblock and Adguard. It does not conflict
with plugins, does not violate styles, and does its job. The author of the plugin
is developing his creation, there are plans for development. Technical support resolves
issues quickly. I wish you further development and more plugin installations.

![](https://secure.gravatar.com/avatar/bbebf485b353fd725bf0d452b01d1e7575841945835517b19f78919890de48da?
s=60&d=retro&r=g)

### 󠀁[The best that I have tested so far](https://wordpress.org/support/topic/the-best-that-i-have-tested-so-far/)󠁿

 [circusshirt](https://profiles.wordpress.org/circusshirt/) 30 birželio, 2025 4 
replies

We operate a high-traffic e-learning platform that tracks user progress as they 
navigate through courses. At least once a week, we receive support tickets from 
learners reporting that their progress is not being recorded correctly. In every
case we’ve investigated, the issue has been traced back to users running an ad blocker
or using the Brave browser, both of which interfere with the progress tracking scripts.
Now I can display a message to these users asking them to turn off any ad blockers.
It works very well for our needs. I’ve modified the plugin slightly so that the 
popup message only displays on the homepage, rather than site-wide. This helps reduce
disruption for users while still delivering the message early.

![](https://secure.gravatar.com/avatar/50c101f4d9be877802d44713e653b7ee3306990c73a8daa836608bfa2bf2dcba?
s=60&d=retro&r=g)

### 󠀁[Works exactly as stated](https://wordpress.org/support/topic/works-exactly-as-stated-5/)󠁿

 [angeljs](https://profiles.wordpress.org/angeljs/) 30 birželio, 2025

This works perfectly. I haven’t tested it with all ad-blockers, but it definitely
does work with the one I do use myself. :)Edit: Since the new update, you can now
choose whether or not people can disable the notice, which is a very welcome addition.
This is actually the only adblock detector I’ve found that actually works.

![](https://secure.gravatar.com/avatar/6c3b61398abf4b12c34f4a77f9df4d5706cc7887b1312d56381318a8ca0535a8?
s=60&d=retro&r=g)

### 󠀁[Doesn’t work](https://wordpress.org/support/topic/doesnt-work-3200/)󠁿

 [jhoujhou919530255](https://profiles.wordpress.org/jhoujhou919530255/) 5 kovo, 
2025 1 reply

That’s useless

 [ Perskaityti visus atsiliepimus (7) ](https://wordpress.org/support/plugin/zdn-adblock-detector/reviews/)

## Programuotojai ir komandos nariai

“ZDN Adblock Detector” yra atviro kodo programa. Prie jos sukūrimo prisidėję žmonės
surašyti toliau.

Autoriai

 *   [ cuongquach ](https://profiles.wordpress.org/cuongquach/)

[Išverskite “ZDN Adblock Detector” į savo kalbą.](https://translate.wordpress.org/projects/wp-plugins/zdn-adblock-detector)

### Domina programavimas?

[Peržiūrėkite kodą](https://plugins.trac.wordpress.org/browser/zdn-adblock-detector/),
naršykite [SVN repozitorijoje](https://plugins.svn.wordpress.org/zdn-adblock-detector/),
arba užsiprenumeruokite [kodo pakeitimų žurnalą](https://plugins.trac.wordpress.org/log/zdn-adblock-detector/)
per [RSS](https://plugins.trac.wordpress.org/log/zdn-adblock-detector/?limit=100&mode=stop_on_copy&format=rss).

## Pakeitimų istorija

#### 1.1.2

 * Fixed input sanitization and validation for superglobal variables
 * Fixed SQL query preparation for better security
 * Added proper resource versioning for enqueued styles
 * Removed deprecated load_plugin_textdomain() call (auto-loaded since WP 4.6)
 * Fixed translators comment placement for i18n compliance

#### 1.1.1

 * Added support for formatted HTML and hyperlinks in the overlay message via WordPress
   Rich Text Editor

#### 1.1.0

 * Added delayed popup feature – show popup only after configurable number of page
   views
 * New „Enable Delayed Popup” setting to toggle the feature on or off
 * New „Page Views Before Popup” setting (1-100) to configure threshold
 * Page view counter resets when popup is displayed
 * Uses localStorage for persistent tracking across sessions

#### 1.0.9

 * Fixed MySQL 5.5 compatibility – removed DEFAULT CURRENT_TIMESTAMP from datetime
   column which is not supported in MySQL 5.5

#### 1.0.8

 * Corrected timing of detection

#### 1.0.7

 * Added direct profile links in popup logs for faster user management

#### 1.0.6

 * Added master enable/disable toggle to turn popup detection on or off
 * Added „Front page only” setting to restrict popup to homepage/front page only
 * Added comprehensive popup logging system for logged-in users
 * Added admin dashboard with popup analytics and user tracking
 * Added paginated popup logs with customizable page sizes (10, 25, 50, 100, 200)
 * Added database table auto-creation for popup logging
 * Added AJAX-powered logging with user agent and timestamp tracking
 * Added privacy controls – logging can be enabled/disabled independently
 * Added navigation tabs between Settings and Popup Logs
 * Enhanced admin interface with WordPress-native styling and pagination

#### 1.0.5

 * Added modal reappearance control – choose when the modal appears again after 
   being closed
 * Three reappearance options: never again, each visit, or after specified days
 * Smart localStorage-based tracking for persistent behavior across sessions
 * Contextual settings that only appear when modal closing is enabled

#### 1.0.4

 * Added flexible modal closing feature – administrators can now configure whether
   visitors can close the modal without reloading
 * New „Allow Modal Closing” setting with multiple closing options (X button, click
   outside, main button)
 * Enhanced user experience with intuitive modal closing methods when flexible mode
   is enabled
 * Fixed WordPress translation loading warning – translations now load at proper
   init hook
 * Added proper internationalization support with POT template file

#### 1.0.3

 * Added customizable overlay text options in settings
 * Improved adblock detection efficiency
 * Fixed minor UI issues

#### 1.0.2

 * Update detection script for better detection (ublock origin lite)

#### 1.0.1

 * Added settings page for JavaScript loading method
 * Added option to use minified version of the script
 * Updated button text
 * Improved overlay behavior with page refresh

#### 1.0.0

 * Initial release

## Metainformacija

 *  Version **1.1.2**
 *  Atnaujinta **prieš 1 mėnuo**
 *  Aktyvių instaliacijų **100+**
 *  WordPress versija ** 5.0 ar naujesnė **
 *  Ištestuota iki **6.9.4**
 *  PHP versija ** 7.0 ar naujesnė **
 *  Kalba
 * [English (US)](https://wordpress.org/plugins/zdn-adblock-detector/)
 * Žymos
 * [adblock](https://lt.wordpress.org/plugins/tags/adblock/)[ads](https://lt.wordpress.org/plugins/tags/ads/)
   [advertising](https://lt.wordpress.org/plugins/tags/advertising/)[anti-adblock](https://lt.wordpress.org/plugins/tags/anti-adblock/)
   [detector](https://lt.wordpress.org/plugins/tags/detector/)
 *  [Daugiau](https://lt.wordpress.org/plugins/zdn-adblock-detector/advanced/)

## Įvertinimai

 4.4 out of 5 stars.

 *  [  6 5-star reviews     ](https://wordpress.org/support/plugin/zdn-adblock-detector/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/zdn-adblock-detector/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/zdn-adblock-detector/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/zdn-adblock-detector/reviews/?filter=2)
 *  [  1 1-star review     ](https://wordpress.org/support/plugin/zdn-adblock-detector/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/zdn-adblock-detector/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/zdn-adblock-detector/reviews/)

## Autoriai

 *   [ cuongquach ](https://profiles.wordpress.org/cuongquach/)

## Pagalba

Turite pastabų? Reikia pagalbos?

 [Peržiūrėti pagalbos forumą](https://wordpress.org/support/plugin/zdn-adblock-detector/)

## Paremkite

Galbūt norite padėti plėtoti šį įskiepį?

 [ Paremti įskiepio kūrimą ](https://ko-fi.com/cuongquach)