Changes for page Main.GlobalJS

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

From version 7.1
edited by strixadmin
on 2025/03/27 07:42
Change comment: There is no comment for this version
To version 9.1
edited by strixadmin
on 2025/03/27 07:49
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -4,7 +4,7 @@
4 4  
5 5  {{html}}
6 6  <!-- Yandex.Metrika counter -->
7 -<script type="text/javascript" >
7 +<script type="text/javascript">
8 8   (function(m,e,t,r,i,k,a){m[i]=m[i]||function(){(m[i].a=m[i].a||[]).push(arguments)};
9 9   m[i].l=1*new Date();
10 10   for (var j = 0; j < document.scripts.length; j++) {if (document.scripts[j].src === r) { return; }}
XWiki.JavaScriptExtension[0]
Code
... ... @@ -1,8 +1,8 @@
1 1  <!-- Yandex.Metrika counter -->
2 -<script type="text/javascript" >
2 +<script type="text/javascript">
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 - 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; }}
6 6   k=e.createElement(t),a=e.getElementsByTagName(t)[0],k.async=1,k.src=r,a.parentNode.insertBefore(k,a)})
7 7   (window, document, "script", "https://mc.yandex.ru/metrika/tag.js&quot;, "ym");
8 8