How to check if the user has adblock enabled? [duplicate]

0

I have a block with html that is an ad, but if the person has adblock it will not appear.

What I need to do is if the user does not have adblock enabled the ad will appear but if it is activated a msg will appear instead of the ad.

    <div class="Aside-bloc-0">
        <span>Propaganda</span>
        <center>
            <div class="propaganda">
                <a href="link_propaganda">
                    <img src="img_propaganda"/>
                </a>
            </div>
        </center>
    </div>
    
asked by anonymous 06.02.2018 / 03:32

0 answers