-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
40 lines (39 loc) · 1.19 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
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8" />
<title>bilib[ii]li</title>
<link rel="stylesheet" href="style.css" />
<script>
function redirect() {
document.getElementById("redirect").value = "正在跳转...";
document.getElementById("redirect").style.opacity = "0.5";
window.location.href = "https://www.bilibili.com/";
}
const img = new Image();
img.src = "https://t.mwm.moe/fj";
img.onload = () => {
document.body.style.backgroundImage = `url(${img.src})`;
document.querySelector(".container").classList.add("visible");
};
</script>
</head>
<body>
<div class="container">
<div id="greeting">嗨!ヾ(*´▽‘*)</div>
<br />
<span>这里是 bilib<b>ii</b>li.com!您可能输入了错误的网址。</span>
<div class="button-container">
<input
id="redirect"
type="button"
value=" 是否本来要前往哔哩哔哩?"
onclick="redirect()"
/>
</div>
</div>
<footer id="footer">
<div style="position: fixed; bottom: 12px">©2024 bilibiili.com</div>
</footer>
</body>
</html>