Changes for page Main.GlobalJS

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

From version 15.1
edited by strixadmin
on 2025/03/27 08:13
Change comment: There is no comment for this version
To version 17.1
edited by strixadmin
on 2025/03/27 08:16
Change comment: There is no comment for this version

Summary

Details

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