Fix yandex counter
This commit is contained in:
parent
af5106e7bb
commit
c4f11d1e69
@ -1,5 +1,5 @@
|
|||||||
<!-- Yandex.Metrika counter -->
|
<!-- Yandex.Metrika counter -->
|
||||||
<script type="text/javascript">
|
<script type="text/javascript" >
|
||||||
(function (d, w, c) {
|
(function (d, w, c) {
|
||||||
(w[c] = w[c] || []).push(function() {
|
(w[c] = w[c] || []).push(function() {
|
||||||
try {
|
try {
|
||||||
@ -18,7 +18,7 @@
|
|||||||
f = function () { n.parentNode.insertBefore(s, n); };
|
f = function () { n.parentNode.insertBefore(s, n); };
|
||||||
s.type = "text/javascript";
|
s.type = "text/javascript";
|
||||||
s.async = true;
|
s.async = true;
|
||||||
s.src = "https://mc.yandex.ru/metrika/watch.js";
|
s.src = "https://cdn.jsdelivr.net/npm/yandex-metrica-watch/watch.js";
|
||||||
|
|
||||||
if (w.opera == "[object Opera]") {
|
if (w.opera == "[object Opera]") {
|
||||||
d.addEventListener("DOMContentLoaded", f, false);
|
d.addEventListener("DOMContentLoaded", f, false);
|
||||||
|
Loading…
Reference in New Issue
Block a user