The weekend is almost here and in the middle of all the chaos, Hen managed to write a new module.
Many sites are dependent on advertising revenue. Our new module helps to find out if a visitor uses an adblocker or not.

Features
In QUIQQER systems you are able to use simple HTML to determine for which elements an adblock detection should be performed.
By simply adding data-ad-detection="1" you can lock the Element when an adblocker is active.
<div class="my-ad-container" data-ad-detection="1"></div><body data-ad-detection="1"></div>This module also offers a simple interface for frontend developers:
require(['package/quiqqer/adblock-detection/bin/detection'], function(Detection) {
Detection.canRunAds().then(function(canRunAds) {
console.log(canRunAds); // bool -> true or false
});
});
This module has been on our todo for months. Now finally this can be used freely.
We wish all Indiehackers a productive and good weekend!