-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
111 lines (95 loc) · 2.44 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
<!DOCTYPE html>
<html lang="de">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Browsertest</title>
<style type="text/css">
#fallback {
max-width: 500px;
margin: 1rem auto;
padding: 1.5rem;
}
#fallback img{
margin: 0 0 2.5rem 0;
}
#fallback h1 {
font-size: 1.8rem;
font-weight: 300;
line-height: 1.4;
margin-top: 0px;
margin-bottom: 1.5rem;
font-family: theSansLight, Arial, Helvetica, Arial, Lucida, sans-serif;
}
#fallback p, #fallback ul {
color: rgb(112, 113, 115);
font-family: Roboto, Helvetica, Arial, sans-serif;
font-weight: 400;
font-size: 1rem;
line-height: 1.8;
}
#fallback ul {
margin: 1rem 0 0;
list-style-position: inside;
}
#fallback a {
color: rgb(112, 113, 115);
}
</style>
<script src="https://unpkg.com/[email protected]/es5.js"></script>
</head>
<body>
<div id="root"></div>
<div id="fallback" style="display: none;">
<h1>Dieser Browser wird nicht unterstützt</h1>
<p>
Der von Ihnen verwendete Browser kann die Webseite leider nicht anzeigen.
Bitte verwenden Sie eine aktuelle Version folgender Browser:
</p>
<ul>
<li>Google Chrome</li>
<li>Firefox</li>
<li>Microsoft Edge</li>
<li>Safari (Apple)</li>
</ul>
<br />
<p>
Sollten weiterhin ein Probleme bestehen, wenden Sie sich bitte an unseren Kundenservice.
Sie können unseren Kundenservice über das
oder telefonisch erreichen:
<br />
<br /> 030 208 666 44 (Deutschland)
<br />
01 274 86 56 (Österreich)
</p>
</div>
<script>
if (window.navigator.userAgent.indexOf("Trident") > 0 ) {
document.getElementById("fallback").style.display="block";
}
var browser = bowser.getParser(window.navigator.userAgent);
const isValidBrowser = browser.satisfies({
// declare browsers per OS
windows: {
safari: ">6"
},
macos: {
safari: ">12"
},
// per platform (mobile, desktop or tablet)
mobile: {
safari: '>=9',
'android browser': '>3.10'
},
// or in general
chrome: ">65",
firefox: ">66",
opera: ">54",
});
if ( !isValidBrowser ||result.parsedResult.browser.name == "UC Browser") {
document.getElementById("fallback").style.display="block";
}
</script>
. Thank You
</body>
</html>