-
Notifications
You must be signed in to change notification settings - Fork 0
/
index2.html
41 lines (28 loc) · 1.59 KB
/
index2.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="Expires" content="0">
<meta http-equiv="Last-Modified" content="0">
<meta http-equiv="Cache-Control" content="no-cache, mustrevalidate">
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="Content-Security-Policy" content="default-src * 'self' 'unsafe-inline' 'unsafe-eval' data: gap: content:">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no, viewport-fit=cover">
<meta name="theme-color" content="#fff">
<meta name="background-color" content="#000000">
<meta name="format-detection" content="telephone=no">
<meta name="msapplication-tap-highlight" content="no">
<title>Food2Home</title>
<link rel="shortcut icon" sizes="16x16" href="assets/icon-16x16.png">
<link rel="shortcut icon" sizes="196x196" href="assets/icon-196x196.png">
<link rel="apple-touch-icon-precomposed" href="assets/icon-152x152.png">
</head>
<body>
<h2 style="text-align: center;margin-top: 50%;">Esta <b>web/app</b> está diseñada para usarse sólo en <u>dispositivos moviles</u>.</h2>
<script>
if (navigator.userAgent.match(/Android/i) || navigator.userAgent.match(/webOS/i) || navigator.userAgent.match(/iPhone/i) || navigator.userAgent.match(/iPad/i) || navigator.userAgent.match(/iPod/i) || navigator.userAgent.match(/BlackBerry/i) || navigator.userAgent.match(/Windows Phone/i) || window.innerWidth <= 780) {
location.href='index.html';
}
</script>
</body>
</html>