Changes for page Main.GlobalJS

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

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

Summary

Details

XWiki.JavaScriptExtension[0]
Caching policy
... ... @@ -1,0 +1,1 @@
1 +forbid
Code
... ... @@ -1,0 +1,14 @@
1 +<!-- Yandex.Metrika counter -->
2 + (function(m,e,t,r,i,k,a){m[i]=m[i]||function(){(m[i].a=m[i].a||[]).push(arguments)};
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 + k=e.createElement(t),a=e.getElementsByTagName(t)[0],k.async=1,k.src=r,a.parentNode.insertBefore(k,a)})
6 + (window, document, "script", "https://mc.yandex.ru/metrika/tag.js&quot;, "ym");
7 +
8 + ym(100508154, "init", {
9 + clickmap:true,
10 + trackLinks:true,
11 + accurateTrackBounce:true,
12 + webvisor:true
13 + });
14 +<!-- /Yandex.Metrika counter -->
Name
... ... @@ -1,0 +1,1 @@
1 +Main.GlobalJS
Parse content
... ... @@ -1,0 +1,1 @@
1 +Yes
Use this extension
... ... @@ -1,0 +1,1 @@
1 +always