M
M
mihalich40402017-01-19 06:00:30
JavaScript
mihalich4040, 2017-01-19 06:00:30

How to check if the Yandex Direct script has loaded?

How can I determine if the Direct code was loaded from an.yandex.ru or was blocked by the user? I can't find the right class or variable after loading the script.
Something like this
if (typeof Direct !== 'undefined') {

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry Evgrafovich, 2017-01-19
@Tantacula

Ya.Direct object try it.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question