МЧС

<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Redirect</title>
<script type="text/javascript"> // <![CDATA[
//iPhone Version:

function getAndroidVersion(ua) {
    ua = (ua || navigator.userAgent).toLowerCase();
    var match = ua.match(/android\s([0-9\.]*)/i);
    return match ? match[1] : undefined;
};
getAndroidVersion(); //"4.2.1"
parseInt(getAndroidVersion(), 10); //4
parseFloat(getAndroidVersion()); //4.2

if((navigator.userAgent.match(/iPhone/i)) || (navigator.userAgent.match(/iPod/i))) {
    window.location = "https://apps.apple.com/ru/app/live-stories/id1529082760";
}
//Android Version:
var androidversion = parseFloat(ua.slice(ua.indexOf("Android")+8)); 
if(navigator.userAgent.match(/android/i) & /androidversion < 6.0/i) 
{
    	 
      window.location = "https://play.google.com/store/apps/details?id=com.ARVAR.LiveStories&hl=ru&gl=US";
}
if(navigator.userAgent.match(/android/i/ & androidversion >= 6.0/i)) 
  {
      window.location = "https://satisspb.ru/katalogi/tverdyy-pereplet";
  }
}
</script>
</body>
</html>