Änderungen

Zur Navigation springen Zur Suche springen
1.278 Bytes entfernt ,  14:02, 10. Dez. 2019
Die Seite wurde geleert.
Zeile 1: Zeile 1: −
!DOCTYPE html>
  −
<html lang="de">
  −
<head>
  −
    <meta charset="utf-8" />
  −
<script>
  −
function getMobileOperatingSystem() {
  −
  var userAgent = navigator.userAgent || navigator.vendor || window.opera;
     −
      // Windows Phone must come first because its UA also contains "Android"
  −
    if (/windows phone/i.test(userAgent)) {
  −
        return "Windows Phone";
  −
    }
  −
  −
    if (/android/i.test(userAgent)) {
  −
        return "Android";
  −
    }
  −
  −
    // iOS detection from: http://stackoverflow.com/a/9039885/177710
  −
    if (/iPad|iPhone|iPod/.test(userAgent) && !window.MSStream) {
  −
        return "iOS";
  −
    }
  −
  −
    return "unknown";
  −
}</script>
  −
  −
<script>
  −
function DetectAndServe(){
  −
    let os = getMobileOperatingSystem();
  −
    if (os == "Android") {
  −
        window.location.href = "https://play.google.com/store/apps/details?id=at.ooelfv.wissenstest";
  −
    } else if (os == "iOS") {
  −
        window.location.href = "https://apps.apple.com/at/app/feuerwehrjugend-wissenstest-o%C3%B6/id1451491921";
  −
    } else if (os == "Windows Phone") {
  −
        window.location.href = "https://wiki.ooelfv.at/public/index.php/Wissenstest_APP";
  −
    } else {
  −
        window.location.href = "https://wiki.ooelfv.at/public/index.php/Wissenstest_APP";
  −
    }
  −
}
  −
</script>
  −
</head>
  −
<body onload="DetectAndServe()">
  −
</body>
  −
</html>
 

Navigationsmenü