forked from kdxiaoyi/disabled-edge-sidebar
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path404.html
38 lines (38 loc) · 1.24 KB
/
404.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
<!DOCTYPE html>
<html lang="zh">
<head>
<meta charset="UTF-8">
<title>Error | HTTP 404 | kdXiaoyi.github.io</title>
<script type="text/javascript" src="https://qzonestyle.gtimg.cn/qzone/hybrid/app/404/search_children.js" charset="utf-8" homePageUrl="http://kdxiaoyi.github.io/" homePageName="回到主页"></script>
<script>
var _hmt = _hmt || [];
(function() {
var hm = document.createElement("script");
hm.src = "https://hm.baidu.com/hm.js?a885990c97d17a546e184fcf00ef37aa";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s);
})();
</script>
</head>
<body>
<div class="footer">
<p>404页面正在加载。请稍后。</p>
<button onclick="back()">直接返回上一页</button>
<p>kdXiaoyi Copyright © 2022. All Rights Reserved.</p>
<script>
function back() {
// 利用7种方法返回
//window.history.go(-1);
//window.history.back(-1);
window.history.back();
//history.go(-1);
//history.back(-1);
//history.back();
// 这1种方法防止一些人开新窗,但我也不知道好不好用
//const prevPageUrl = document.referer;
//document.location,href = prevPageUrl;
};
</script>
</div>
</body>
</html>