Changes for page Über Beachvolleypedia

Last modified by Beachvolleypedia Administrator on 2025/11/23 13:31

From version 113.1
edited by Beachvolleypedia Administrator
on 2025/11/12 13:22
Change comment: There is no comment for this version
To version 113.11
edited by Beachvolleypedia Administrator
on 2025/11/23 08:57
Change comment: There is no comment for this version

Summary

Details

XWiki.JavaScriptExtension[0]
Code
... ... @@ -19,3 +19,11 @@
19 19   });
20 20   }
21 21  });
22 +
23 +document.addEventListener('DOMContentLoaded', function() {
24 + const navbarRight = document.querySelector('ul.navbar-right');
25 + if (navbarRight) {
26 + const isNonDefaultPort = window.location.port !== '' && window.location.port !== '80' && window.location.port !== '443';
27 + navbarRight.style.display = isNonDefaultPort ? 'block' : 'none';
28 + }
29 +});
XWiki.JavaScriptExtension[1]
Caching policy
... ... @@ -1,0 +1,1 @@
1 +forbid
Code
... ... @@ -1,0 +1,24 @@
1 +<!-- Matomo -->
2 +document.observe('xwiki:dom:loaded', function() {
3 + var _paq = window._paq = window._paq || [];
4 +
5 + // Keine Cookies setzen
6 + _paq.push(['disableCookies']);
7 + // IP anonymisieren
8 + _paq.push(['anonymizeIp']);
9 + // Do Not Track respektieren
10 +// _paq.push(['setDoNotTrack', true]);
11 +
12 + _paq.push(['trackPageView']);
13 + _paq.push(['enableLinkTracking']);
14 + (function() {
15 + var u="//wan.beachvolleypedia.com/";
16 + _paq.push(['setTrackerUrl', u+'matomo.php']);
17 + _paq.push(['setSiteId', '1']);
18 + var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
19 + g.async=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s);
20 + })();
21 +}
22 +</script>
23 +<!-- End Matomo Code -->
24 +
Name
... ... @@ -1,0 +1,1 @@
1 +trkJSExtension
Parse content
... ... @@ -1,0 +1,1 @@
1 +Yes
Use this extension
... ... @@ -1,0 +1,1 @@
1 +always