Answer the question
In order to leave comments, you need to log in
Yandex block "Share" and Google Recaptcha, why the conflict?
Good afternoon! When both scripts are connected on the same page, the Yandex script generates a null exception (see screenshot). Both scripts are connected correctly, according to the instructions, both are asynchronous, both work fine. Can anyone come across? Thank you.
Here is an example:
https://jsfiddle.net/hy903ujm/
Answer the question
In order to leave comments, you need to log in
Apparently, in some of the scripts, the variable is reused (although everything seems to be isolated at first glance) and they intersect when called. But I tried to delay the loading of one of the scripts and they worked. The delay time should be chosen imitatively, taking into account the download speed on a slow connection and execution on slow hardware
https://jsfiddle.net/hy903ujm/9/
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question