Changes for page Main.GlobalJS

Last modified by strixadmin on 2025/03/27 08:36

From version 16.1
edited by strixadmin
on 2025/03/27 08:14
Change comment: There is no comment for this version
To version 4.1
edited by strixadmin
on 2025/03/27 07:33
Change comment: There is no comment for this version

Summary

Details

XWiki.JavaScriptExtension[0]
Code
... ... @@ -1,7 +1,8 @@
1 1  <!-- Yandex.Metrika counter -->
2 +<script type="text/javascript" >
2 2   (function(m,e,t,r,i,k,a){m[i]=m[i]||function(){(m[i].a=m[i].a||[]).push(arguments)};
3 3   m[i].l=1*new Date();
4 - for (var j = 0; j <document.scripts.length; j++) {if (document.scripts[j].src === r) { return; }}
5 + for (var j = 0; j < document.scripts.length; j++) {if (document.scripts[j].src === r) { return; }}
5 5   k=e.createElement(t),a=e.getElementsByTagName(t)[0],k.async=1,k.src=r,a.parentNode.insertBefore(k,a)})
6 6   (window, document, "script", "https://mc.yandex.ru/metrika/tag.js&quot;, "ym");
7 7  
... ... @@ -11,4 +11,6 @@
11 11   accurateTrackBounce:true,
12 12   webvisor:true
13 13   });
15 +</script>
16 +<noscript><div><img src="https://mc.yandex.ru/watch/100508154&quot; style="position:absolute; left:-9999px;" alt="" /></div></noscript>
14 14  <!-- /Yandex.Metrika counter -->