forked from AutoPiano/AutoPiano
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
52 lines (48 loc) · 1.61 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<meta name="viewport" content="user-scalable=no">
<meta name="author" content="crystalworld">
<meta name="google-site-verification" content="jZwr88wY1PCrh_8cwdXUmjwSZASU82bq3GHXC6lehik" />
<title>Simple & Elegant Piano Online</title>
<link rel="shortcut icon" href="./favicon.png" />
<!-- 百度统计 autopiano.cn -->
<script>
var _hmt = _hmt || [];
(function () {
var hm = document.createElement("script");
hm.src = "https://hm.baidu.com/hm.js?af9df715a05051f16ccdd9290cbd02ef";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s);
})();
</script>
<script>
// 强制http访问
if (window.location.href.indexOf('https://www.autopiano.cn') > -1) {
window.location.href = 'http://www.autopiano.cn/';
}
var ua = window.navigator.userAgent
if (ua.match(/mobile/i) && ua.indexOf('iPad') < 0) {
// 是手机端浏览器 且 不是iPad
window.isMobile = true;
if (window.location.pathname.indexOf('/mobile') < 0) {
window.location.pathname = '/mobile';
}
} else {
window.isMobile = false;
if (window.location.pathname.indexOf('/mobile') >= 0) {
window.location.pathname = '/';
}
}
</script>
<link href="/static/css/share.min.css" rel="stylesheet" />
</head>
<body>
<div id="app"></div>
<script src="/static/js/jquery3.min.js"></script>
<!-- built files will be auto injected -->
</body>
</html>