I
I
Islam Ibakaev2017-09-07 00:41:26
JavaScript
Islam Ibakaev, 2017-09-07 00:41:26

Adblock is blocking the request to ipinfo.io. What to do?

In order to get acquainted in vuejs, I made a weather widget
. The included adblock blocks the request to ipinfo.io, breaking the widget's performance, otherwise everything works. How to be in this situation?
Is it possible to somehow determine whether adblock is enabled or disabled for a user?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
Alexey Yarkov, 2017-09-07
@devellopah

OMG... First link in google
https://ru.stackoverflow.com/questions/333930/%D0%...

O
oh, 2017-09-07
well @AnneSmith

yes, with adblock it shows only default values,
but you will not do anything about it, you
will insist on disabling, the visitor will simply leave the site

I
Ilya Gerasimov, 2017-09-07
@Omashu

Honestly, I didn’t delve into it, but it seems to me that you can check with the “missing block”, we make some element on the site, we hang handlers, and if something is wrong with the block, for example, it disappeared and the DOM, we can conclude that adblock sawed it out although I'm sure there are better ways. <div class="ads advertising"></div>

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question