-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
84 lines (76 loc) · 4.39 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta http-equiv="Cache-control" content="Private">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0" />
<title>Extera</title>
<meta name="name" content="Extera" />
<meta name="author" content="OfficialDakari" />
<meta name="description" content="Additional cool features and little design improvements for Cinny." />
<meta name="keywords" content="extera, cinny, cinnyapp, cinnychat, matrix, matrix client, matrix.org, element" />
<meta property="og:title" content="Extera" />
<meta property="og:url" content="https://extera.officialdakari.ru" />
<meta property="og:image"
content="https://extera-public.officialdakari.ru/res/android/android-chrome-icon-72x72.png" />
<meta property="og:description" content="Additional cool features and little design improvements for Cinny." />
<meta name="theme-color" content="#000000" />
<link id="favicon" rel="shortcut icon" href="./public/favicon.ico" />
<link rel="manifest" href="/manifest.json" />
<meta name="mobile-web-app-capable" content="yes" />
<meta name="application-name" content="Extera" />
<meta name="apple-mobile-web-app-title" content="content" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
<link rel="apple-touch-icon" sizes="57x57" href="./public/res/android/android-chrome-icon-57x57.png" />
<link rel="apple-touch-icon" sizes="60x60" href="./public/res/android/android-chrome-icon-60x60.png" />
<link rel="apple-touch-icon" sizes="72x72" href="./public/res/android/android-chrome-icon-72x72.png" />
<link rel="apple-touch-icon" sizes="76x76" href="./public/res/android/android-chrome-icon-76x76.png" />
<link rel="apple-touch-icon" sizes="114x114" href="./public/res/android/android-chrome-icon-114x114.png" />
<link rel="apple-touch-icon" sizes="120x120" href="./public/res/android/android-chrome-icon-120x120.png" />
<link rel="apple-touch-icon" sizes="144x144" href="./public/res/android/android-chrome-icon-144x144.png" />
<link rel="apple-touch-icon" sizes="152x152" href="./public/res/android/android-chrome-icon-152x152.png" />
<link rel="apple-touch-icon" sizes="167x167" href="./public/res/android/android-chrome-icon-167x167.png" />
<link rel="apple-touch-icon" sizes="180x180" href="./public/res/android/android-chrome-icon-180x180.png" />
</head>
<body id="appBody">
<script>
window.global ||= window;
(function () {
let stateSymbol = "__state__index__";
history.stateIndex = -1;
history.states = [];
let pushState = history.pushState;
function add(data, title, url) {
if (data == null) data = {};
if (typeof data != "object") data = { data: data };
data[stateSymbol] = (history.stateIndex + 1);
history.states.splice(history.stateIndex + 1, 0, [data, title, url])
history.states.splice(history.stateIndex + 2)
history.stateIndex++;
}
history.pushState = function (data, title, url = null) {
add(data, title, url);
pushState.bind(history)(data, title, url);
}
addEventListener("popstate", function (e) {
var eventObject = {};
var newStateIndex = e.state != null ? e.state[stateSymbol] : -1;
eventObject.from = history.states[history.stateIndex];
eventObject.to = newStateIndex > -1 ? history.states[newStateIndex] : null;
eventObject.side = history.stateIndex > newStateIndex ? "back" : "forward";
if (newStateIndex > -1 && !(newStateIndex in history.states)) {
add(history.state, "", window.location.href);
}
window.dispatchEvent(new CustomEvent("historyChange", { detail: eventObject }))
history.stateIndex = e.state != null ? e.state[stateSymbol] : -1;
});
})();
</script>
<div id="root"></div>
<script type="module" src="./src/index.tsx"></script>
<!-- Do not remove; it is intended for android build -->
<script src="cordova.js"></script>
</body>
</html>