-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
62 lines (53 loc) · 2.05 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
<!DOCTYPE HTML>
<!--
Just redirect page
-->
<HTML>
<HEAD>
<title>Personium | Open Source PDS Software.</title>
<meta name="description"
content="An interconnectable open source PDS (Personal Data Store) server envisioning world wide web of protected data APIs.">
<meta name="keywords" content="HTML5, bootstrap, mobile, app, landing, ios, android, responsive">
<meta property="og:title" content="Personium | Open Source PDS" />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://personium.io/" />
<meta property="og:description"
content="An interconnectable open source PDS (Personal Data Store) server envisioning world wide web of protected data APIs." />
<meta property="og:image" content="https://personium.io/images/header-icon.png" />
<link rel="icon" href="./images/favicon.ico" type="image/x-icon" />
</HEAD>
<BODY>
<script type="text/javascript" charset="utf-8">
var browserLanguage = function () {
var ua = window.navigator.userAgent.toLowerCase();
try {
// chrome
if (ua.indexOf('chrome') != -1) {
return (navigator.languages[0] || navigator.browserLanguage || navigator.language || navigator
.userLanguage).substr(0, 2);
}
// それ以外
else {
return (navigator.browserLanguage || navigator.language || navigator.userLanguage).substr(0, 2);
}
} catch (e) {
return undefined;
}
}
var arg = new Object();
var lang = null;
lang = browserLanguage();
if (lang == 'ja') {
location.href = "./ja/index.html";
}
// 英語
else if (lang == 'en') {
location.href = "./en/index.html";
}
// その他
else {
location.href = "./en/index.html";
}
</script>
</BODY>
</HTML>