This is a simple vanilla JS adblocker detection script. It is inspired by an article by Christian Heilmann, but there a few differences, mostly for performance reasons:
- The HTML div element is not created on the fly via JavaScript.
- The HTML div element is not being removed after script execution.
- The HTML div element occupies no space, since it is positioned absolutely.
- A simple Google Analytics call has been added.