Changes for page Über Beachvolleypedia

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

From version 113.13
edited by Beachvolleypedia Administrator
on 2025/11/23 09:37
Change comment: There is no comment for this version
To version 113.2
edited by Beachvolleypedia Administrator
on 2025/11/15 16:12
Change comment: There is no comment for this version

Summary

Details

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