Best WordPress plugin to Detect AdBlock and prevent browsing using PHP Cookie and Session when the visitor has AdBlock in the browser. Easy to use, just install the plugin and activate it.
Detect AdBlock Plugin
The plugin features:
- Easy to use & Fast.
- SEO Friendly (No affected with SEO).
- Prevent website browsing using PHP Cookie & Session.
- Custom message with Preview.
- Translate the message to your language easily (in settings page).
- Prevent Detect AdBlock from some users (for example disable detecting adblock if the user is admin or editor, etc).
Live Demo
Enable AdBlock in your browser and open this page.
Note: I have a custom plugin used in this page only to detect adblock in this page only, but this plugin will detecting adblock on entire website.
Explanation of Use
Download plugin, install it and activate it, now the plugin is ready, but if you want to translate texts or prevent some users go to “Settings” menu > “Detect AdBlock”:
In field “Title” enter your message title, and in field “Message” enter your custom message with text link, for example:
The result:
Exclude Users
For example if you are the admin and you want to browsing the website without detecting adblock, choose “Exclude Admins”.
SEO
Don’t worry! No affected with SEO, the plugin idea is check if the user has AdBlock in the browser or not, detection through Javascript.