-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
60 lines (50 loc) · 2.24 KB
/
index.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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
<html>
<head>
<title>Best Diplomats</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<script type="text/javascript">
window.onload = function() {
var isAndroid = /android/i.test(navigator.userAgent);
var isiOS = /iPad|iPhone|iPod/.test(navigator.userAgent) && !window.MSStream;
if (isAndroid) {
// Redirect to the Play Store
window.location.href = 'https://play.google.com/store/apps/details?id=com.bestdiplomats.officialapp';
} else if (isiOS) {
// Redirect to the App Store
window.location.href = 'https://apps.apple.com/app/youtube-watch-listen-stream/id544007664';
}
}
</script>
</head>
<body>
<h1>Please wait...</h1>
<!-- <p>This is an example of a website that redirects users to the YouTube app's page on the App Store or Play Store, depending on their device.</p> -->
</body>
</html>
<!--
<html>
<head>
<title>SCANMI</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<script type="text/javascript">
window.onload = function() {
window.location.href = 'https://qamarkhan1.github.io/'+window.location.href.split('/').pop();
}
</script>
</head>
<body>
<h1>SCANMI Test</h1>
<p>This is an example of a website that redirects users to the YouTube app's page on the App Store or Play Store, depending on their device.</p>
</body>
</html>
// "sha256_cert_fingerprints": ["87:9B:2D:9B:A6:60:2C:D7:46:0F:01:9A:1C:2D:CC:5F:97:5A:EF:B9:7F:8F:77:AA:C6:50:E9:43:31:20:88:7B"]
var isAndroid = /android/i.test(navigator.userAgent);
var isWindows = /Windows/i.test(navigator.userAgent);
var isiOS = /iPad|iPhone|iPod/.test(navigator.userAgent) && !window.MSStream;
if (isAndroid) {
// Redirect to the Play Store
window.location.href = 'https://play.google.com/store/apps/details?id=com.vergelabs.qrscanapp';
} else if (isiOS) {
// Redirect to the App Store
window.location.href = 'https://apps.apple.com/app/youtube-watch-listen-stream/id544007664';
} -->