DH – Anti AdBlocker
Blocks content and shows a notice to visitors using AdBlockers, requiring them to disable their adblocker to view the site.
Plugin info
Maintenance & Compatibility
Maintenance score
Maintained • Last updated 131 days ago • Support resolved 50% • 28 reviews
Is DH – Anti AdBlocker abandoned?
Likely maintained (last update 131 days ago).
Compatibility
Similar & Alternatives
Explore plugins with similar tags, and compare key metrics like downloads, ratings, updates, support, and WP/PHP compatibility.
Description
Protect Your Ad Revenue: The Essential DH – Anti AdBlocker WordPress Plugin
As a website owner, blogger, or content creator, you’re constantly seeking a balance between providing free, high-quality content and ensuring your efforts are financially sustainable. For many, advertising serves as the backbone of their monetization strategy. However, the widespread use of AdBlocker extensions poses a significant threat, silently eroding your potential ad revenue and making it harder to sustain your passion. This is a common and frustrating challenge in today’s digital landscape.
Introducing the ultimate solution: DH – Anti AdBlocker, a powerful and intelligent WordPress plugin designed to help you regain control. This tool isn’t just about blocking users; it’s about opening a respectful dialogue. It provides an effective anti adblock solution that protects your earnings while encouraging your audience to support your valuable content.
How DH – Anti AdBlocker’s Advanced Detection Protects Your Ad Revenue
The core of this plugin’s power lies in its advanced AdBlocker detection technology. Unlike older methods that were easily bypassed, our plugin utilizes a sophisticated HTML element-based check. This technique is highly resilient to modern ad blocker filters, ensuring consistent and reliable detection across popular browsers like Chrome, Firefox, and Safari.
When an ad blocker is detected, a fully customizable pop-up appears, gracefully obscuring your site’s content. The message within this pop-up is a polite request, framed to build understanding. It explains that your content is supported by ads and asks the visitor to disable their ad blocker or whitelist your site. This transparent approach turns a negative interaction into a positive one, encouraging your audience to become partners in your website monetization journey.
Key Features for Maximum Control and SEO Benefits
This WordPress revenue protection plugin is packed with features designed to be both effective and user-friendly:
- Full Customization: Tailor the pop-up’s title, message, colors, and styling to perfectly match your site’s branding. This flexibility enhances the user experience and maintains your brand identity.
- SEO-Friendly Design: The plugin is built with clean code that doesn’t harm your site’s SEO. It allows search engine crawlers to access your content, ensuring your search rankings are not negatively impacted.
- Flexible Interaction: You have the power to choose. Include a “Refresh” button for users who disable their ad blocker or a “Close” button for a softer approach. This gives you control over user behavior.
- Admin-Friendly: You have the option to disable the pop-up for logged-in administrators. This feature ensures your workflow is not interrupted while you manage your site.
- Smart Exclusions: Easily exclude specific pages from displaying the notice. This is essential for pages like your ‘Contact Us’ or privacy policy, ensuring they are always accessible.
- Lightweight Performance: Our plugin is built to be fast. It won’t slow down your website, preserving the user experience that is crucial for both visitors and search engine rankings.
What You Can Do in the Plugin Dashboard
Once you install and activate the plugin, its powerful dashboard gives you complete control over your anti-AdBlocker strategy. From the admin area, you can easily:
- Enable or Disable the anti-AdBlocker feature with a single click.
- Customize the Pop-up: Edit the title, content, and text for both the main message and the button. You can also use a visual editor to format the text as needed.
- Adjust Colors: Change the background color, overlay color, text color, and button colors to match your website’s theme.
- Configure User Interaction: Enable or disable the “Refresh” and “Close” buttons. You can also choose to lock the scrollbar and disable the right-click function for a more controlled user experience.
Take Control of Your Website Monetization Today
Don’t let ad blockers dictate the profitability of your website. With the DH – Anti AdBlocker plugin, you can confidently protect your ad revenue and build a more sustainable future for your content. It’s an essential tool for any serious content creator looking to monetize their hard work effectively.
Live Demo
See the plugin in action with our live preview!
Installation
Install DH – Anti AdBlocker on your WordPress website from the dashboard:
- In your WordPress dashboard, go to Plugins > Add new.
- Search for DH – Anti AdBlocker.
- Click Install Now.
- Once the installation is complete, click Activate.
- To configure the plugin, navigate to Settings > DH – Anti AdBlocker in your WP Dashboard.
To manually add DH – Anti AdBlocker to your WordPress website:
- Download the plugin as a dh-anti-adBlocker.zip file.
- From your WordPress dashboard, go to Plugins > Add New.
- Click Upload Plugin at the top.
- Choose the dh-anti-adBlocker.zip file and click Install Now.
- After installation, click Activate Plugin.
- Go to Settings > DH – Anti AdBlocker to access the settings.
Frequently Asked Questions
Review feed
Changelog
51
- Standardized plugin headers and documentation across all files
- Fixed PHP lint warnings and improved code quality
- Added proper license and copyright information
- Improved code organization and maintainability
50
- Improved AdBlock detection logic.
- Fixed issue where detection message appeared twice (duplicate triggers).
- Added fallback detection using hidden bait element for stronger AdBlocker detection.
- Added protection to ensure message is only shown once even if multiple detection methods trigger.
- Improved integration with jquery-confirm modal (better handling of options, RTL, refresh and close buttons).
- Cleaned up redundant JavaScript code and removed undefined variables causing errors.
- Enhanced browser compatibility with Firefox private mode and multiple AdBlocker extensions.
49
- Improved AdBlock detection by enhancing the bait element check with added height, width, and display style verification.
- Fixed issues where the detection failed due to missing CSS properties on the bait element.
- Added safer removal of the bait element after detection to avoid lingering DOM elements.
- Improved compatibility with various AdBlocker extensions and browser behaviors.
- Minor code cleanup to ensure consistent and reliable modal popup behavior.
48
- Improved Adblocker Detection: The detection logic has been updated for better reliability and compatibility with modern browsers and adblocker extensions.
- Enhanced Performance & Stability: The core code has been restructured to improve performance and prevent errors.
- Code Optimization: Cleaned up and optimized the codebase for easier maintenance and stronger consistency.
47
- Fixed adblocker notice not showing for some adblocker extensions.
- Fixed some errors.
46
- Fixed adblocker notice not showing for some adblocker extensions.
45.3
- Minor bug fixes.
45.2
- Minor bug fixes.
45.1
- Minor bug fixes.
45
- Fixed adblocker notice not showing for some adblocker extensions.
44.2
- Minor bug fixes.
44.1
- Minor bug fixes.
44
- Fixed a bug where option changes could not be saved.
43.4
- Removed unwanted code.
43.3
- Minor bug fixes.
43.2
- Minor bug fixes.
43.1
- Fixed incorrect button positioning.
43
- Added RTL (Right-to-Left) mode support.
- Added options to enable/disable the title, and change its alignment and color.
- Added an option to change content alignment.
42.1
- Removed unwanted code.
42
- Fixed critical errors and other code issues.
41.3
- Fixed a critical error.
41.2
- Minor bug fixes.
41.1
- Minor bug fixes.
41
- Fixed an error in the code.
40
- Generated random folders to avoid adblocker filters.
- Fixed an issue where the adblocker notice was not showing.
39.1
- Minor bug fixes.
39
- Fixed bugs.
- Added an option to change button position and glow color.
38
- Fixed some bugs.
37
- Patched CSRF (Cross-Site Request Forgery) vulnerability.
- Fixed bugs and made the plugin translatable.
36
- Added an option to exclude specific pages from the adblocker notice.
35
- Fixed adblocker notice not showing.
34
- Made compatible with WordPress 6.1.1.
- Fixed some bugs.
33
- Fixed bugs in the settings page.
- Corrected the close button not showing when checked.
- Fixed some error codes.
32
- Fixed a bug where the notice was not showing for non-admin users when ‘Disable to Admin’ was checked.
31
- Made compatible with WordPress 6.0.
- Fixed some bugs.
30
- Changed code structure.
- Fixed some bugs.
29.2
- Fixed bugs.
- Corrected adblocker notice not showing.
29.1
- Fixed some text.
29
- Fixed a bug where the ‘REFRESH’ text could not be changed.
28
- Fixed bugs.
- Fixed the adblocker notice not showing.
- Moved the plugin menu to under the ‘Settings’ page.
27
- Made compatible with WordPress 5.7.
26
- Fixed an issue where the scrollbar remained locked after clicking the close button.
25
- Created a random class name for the style to prevent adblocker scripts from blocking it.
24
- Fixed some bugs.
50.1
- Enhanced: Improved compatibility with PHP 8.1+ and WordPress 6.8.2
- Improved: Added proper type hints and return type declarations for better code reliability
- Added: Input sanitization for API requests to enhance security
- Fixed: Potential PHP notices and warnings in various plugin components
- Improved: Better error handling for script and style enqueuing
- Added: Nonce verification for AJAX requests to improve security
- Updated: Plugin documentation and inline code comments
- Fixed: Various code quality and coding standard improvements
- Tested: Verified compatibility with latest WordPress and PHP versions
23
- Added an option to enable/disable the ‘REFRESH’ button.
22
- Implemented a random name for the class style to avoid adblocker scripts.
21
- Added the ability to change the ‘Close’ button text.
- Added an on/off button to disable the plugin for Admin users.
20.1
- Made compatible with WordPress 5.4.2.
20
- Fixed detection for some adblockers.
19.1
- Added a new overlay effect.
- Fixed some bugs.
19
- Fixed a wrong file name.
18
- Fixed some errors.
17
- Fixed some bugs.
16
- Fixed some bugs.
15
- Added an option to show a ‘CLOSE’ button.
14
- Deleted some unwanted code.
13
- Fixed some bugs.
12
- Changed the ‘admin_menu_page’ position.
- Fixed some errors.
11
- Made compatible with WordPress 5.0.
10
- Added an option to change the overlay background color.
9
- Fixed some bugs.
8
- Fixed some bugs.
7
- Changed the text area from a simple editor to a visual editor.
- Fixed some bugs.
6
- Added an option to change text color and background color.
5
- Added on/off buttons to disable right-click and the scrollbar.
4
- Fixed some bugs.
3
- Added an option to disable scrolling.
- Fixed some bugs.
2
- Added the feature to disable right-click.
1
- First release.

