These are the details if anyone can help. See the attached a .js file. Then I put this in my globalte
<script type="text/javascript" src="/advertisement.js"></script>
<script type="text/javascript">
if (document.getElementById("tester") != undefined)
{
document.write(' ');
}
else
{
ga('send', 'event', 'Adblock Check', 'display', 'alert');
document.write('<div class="ipsMessage ipsMessage_error adblockDetectedMessage" style="margin-bottom: 0;"><a href="https://www.wikihow.com/Disable-AdBlock" target="_blank" id="helpTopicLink" class="ipsMessage_code ipsType_blendlinks ipsPos_right" title="How to disable adblock?" data-ipsTooltip><i class="fa fa-question"></i></a></div>');
}
</script>
Then I added this in styles.css to hide the checker part.
#tester {
display:none;
}
But no message is appearing anymore
advertisement.js