WTAPPDownload
Version vom 10. Dezember 2019, 14:02 Uhr von Wikiadmin (Diskussion | Beiträge) (Die Seite wurde neu angelegt: „!DOCTYPE html> <html lang="de"> <head> <meta charset="utf-8" /> <script> function getMobileOperatingSystem() { var userAgent = navigator.userAgent || nav…“)
!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>