MediaWiki:Mobile.js: Unterschied zwischen den Versionen

Aus SALZBURGWIKI
Zur Navigation springen Zur Suche springen
(Die Seite wurde neu angelegt)
 
 
(7 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 1: Zeile 1:
/* Das folgende JavaScript wird für alle Nutzer der Mobilen Version geladen. */
+
/* Das folgende JavaScript wird für alle Nutzer der Mobilen Version geladen.  
<!-- OEWA VERSION="1.4" -->
+
if (document.title == "Salzburgwiki") {
 +
  location.href = "https://www.sn.at/wiki/Salzburgwiki_Mobil";
 +
}*/
  
<SCRIPT LANGUAGE="JavaScript"> <!--
+
let oewaPath = "Service/Verzeichnisse/LexikaGlossareEnzyklopedien";  
var OEWA="http://salzburg.oewabox.at/cgi-bin/ivw/CP/Service/Verzeichnisse/LexikaGlossareEnzyklopedien/wiki/moewa/scom";
+
const isMobile = screen.width < 768
document.write("<IMG SRC=\""+OEWA+"?r="+escape(document.referrer)
+
isMobile ? oewaPath + "/moewa/" : oewaPath
+"&d="+(new Date()).getTime()+"\" WIDTH=\"1\" HEIGHT=\"1\">"); // -->
 
</SCRIPT>
 
  
<NOSCRIPT>
+
if (typeof IOMm !== "undefined") {
<IMG SRC="http://salzburg.oewabox.at/cgi-bin/ivw/CP/Service/Verzeichnisse/LexikaGlossareEnzyklopedien/wiki/moewa/scom"
+
IOMm('configure', { st: 'at_w_atsn', dn: 'data-f6693670bf.sn.at', cn: 'at', dc: 'hyb', mh: 5 })  
WIDTH="1"
+
IOMm('pageview', { cp: oewaPath })  
HEIGHT="1">
+
}
</NOSCRIPT>
 
 
 
<!-- /OEWA-->
 
<!-- FraBo -->
 
<SCRIPT SRC="http://salzburg.oewabox.at/survey.js" language="Javascript">
 
</SCRIPT>
 
<!-- /FraBo -->
 
 
 
<!-- ###Google Analytics### start-->
 
<script type="text/javascript">
 
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
 
  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
 
  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
 
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
 
 
 
ga('create', 'UA-41147771-2', 'salzburg.com');
 
ga('set', 'anonymizeIp', true);
 
ga('send', 'pageview');
 
</script>
 
<!-- ###Google Analytics### end-->
 

Aktuelle Version vom 9. April 2024, 11:30 Uhr

/* Das folgende JavaScript wird für alle Nutzer der Mobilen Version geladen. 
if (document.title == "Salzburgwiki") {
   location.href = "https://www.sn.at/wiki/Salzburgwiki_Mobil";
}*/

let oewaPath = "Service/Verzeichnisse/LexikaGlossareEnzyklopedien"; 
const isMobile = screen.width < 768 
isMobile ? oewaPath + "/moewa/" : oewaPath 

if (typeof IOMm !== "undefined") { 
IOMm('configure', { st: 'at_w_atsn', dn: 'data-f6693670bf.sn.at', cn: 'at', dc: 'hyb', mh: 5 }) 
IOMm('pageview', { cp: oewaPath }) 
}