@aral The only reason to detect an ad-blocker is to warn the site visitor if it's missing.
https://wordpress.org/plugins/detect-missing-adblocker/
(Note that the plugin doesn't work too well right now, the ad-blocker detection started to get pretty unreliable. Maybe it's time to look at this again.)