-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
29 lines (29 loc) · 925 Bytes
/
index.html
File metadata and controls
29 lines (29 loc) · 925 Bytes
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
<!DOCTYPE html>
<html lang="zh">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Redirect</title>
<script src="https://unpkg.com/pako/dist/pako.min.js"></script>
<script>
let url =
'https://busline.design/?settings=' +
btoa(
String.fromCharCode(
...pako.deflate(
localStorage.getItem('settings') ?? '{}'
)
)
);
document.onload = () => {
document.getElementById('link').href = url;
};
window.location = url;
</script>
</head>
<body>
如果没有自动跳转,请<a id="link" href="https://busline.design/"
>点击这里</a
>
</body>
</html>