Detect AdBlock, ABP and other similar browser ectensions with and external wp-banners.js file. The script won't load when AdBlock is enabled.
Above you can see a message asking you to disable AdBlock if the script couldn't be loaded.