How to check if the user has Adblock enabled?

Asked

Viewed 205 times

0

I have a block with html q is an advertisement, but if the person using Adblock it n will appear.

What I need to do is if the user is not with Adblock enabled the ad appears but if it is enabled an msg appears in place 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>
No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.