1
+ <!DOCTYPE html> < html lang ="zh-CN " data-theme ="light "> < head > < meta charset ="UTF-8 "> < meta http-equiv ="X-UA-Compatible " content ="IE=edge "> < meta name ="viewport " content ="width=device-width, initial-scale=1.0,viewport-fit=cover "> < title > 红狼 | 得吃王6666 | 红狼 | 得吃王6666</ title > < meta name ="author " content ="Xcoding422 "> < meta name ="copyright " content ="Xcoding422 "> < meta name ="format-detection " content ="telephone=no "> < meta name ="theme-color " content ="#ffffff "> < meta name ="description " content ="What can I say? ">
2
+ < meta property ="og:type " content ="website ">
3
+ < meta property ="og:title " content ="红狼 | 得吃王6666 ">
4
+ < meta property ="og:url " content ="https://xcoding422.github.io/404.html ">
5
+ < meta property ="og:site_name " content ="红狼 | 得吃王6666 ">
6
+ < meta property ="og:description " content ="What can I say? ">
7
+ < meta property ="og:locale " content ="zh_CN ">
8
+ < meta property ="og:image " content ="https://xcoding422.github.io/img/butterfly-icon.jpg ">
9
+ < meta property ="article:author " content ="Xcoding422 ">
10
+ < meta property ="article:tag " content ="Blog, Hexo ">
11
+ < meta name ="twitter:card " content ="summary ">
12
+ < meta name ="twitter:image " content ="https://xcoding422.github.io/img/butterfly-icon.jpg "> < link rel ="shortcut icon " href ="/img/butterfly-icon.jpg "> < link rel ="canonical " href ="https://xcoding422.github.io/404.html "> < link rel ="preconnect " href ="//cdn.jsdelivr.net "/> < link rel ="preconnect " href ="//busuanzi.ibruce.info "/> < link rel ="stylesheet " href ="/css/index.css "> < link rel ="stylesheet " href ="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free/css/all.min.css "> < script >
13
+ ( ( ) => {
14
+
15
+ const saveToLocal = {
16
+ set : ( key , value , ttl ) => {
17
+ if ( ! ttl ) return
18
+ const expiry = Date . now ( ) + ttl * 86400000
19
+ localStorage . setItem ( key , JSON . stringify ( { value, expiry } ) )
20
+ } ,
21
+ get : key => {
22
+ const itemStr = localStorage . getItem ( key )
23
+ if ( ! itemStr ) return undefined
24
+ const { value, expiry } = JSON . parse ( itemStr )
25
+ if ( Date . now ( ) > expiry ) {
26
+ localStorage . removeItem ( key )
27
+ return undefined
28
+ }
29
+ return value
30
+ }
31
+ }
32
+
33
+ window . btf = {
34
+ saveToLocal,
35
+ getScript : ( url , attr = { } ) => new Promise ( ( resolve , reject ) => {
36
+ const script = document . createElement ( 'script' )
37
+ script . src = url
38
+ script . async = true
39
+ Object . entries ( attr ) . forEach ( ( [ key , val ] ) => script . setAttribute ( key , val ) )
40
+ script . onload = script . onreadystatechange = ( ) => {
41
+ if ( ! script . readyState || / l o a d e d | c o m p l e t e / . test ( script . readyState ) ) resolve ( )
42
+ }
43
+ script . onerror = reject
44
+ document . head . appendChild ( script )
45
+ } ) ,
46
+ getCSS : ( url , id ) => new Promise ( ( resolve , reject ) => {
47
+ const link = document . createElement ( 'link' )
48
+ link . rel = 'stylesheet'
49
+ link . href = url
50
+ if ( id ) link . id = id
51
+ link . onload = link . onreadystatechange = ( ) => {
52
+ if ( ! link . readyState || / l o a d e d | c o m p l e t e / . test ( link . readyState ) ) resolve ( )
53
+ }
54
+ link . onerror = reject
55
+ document . head . appendChild ( link )
56
+ } ) ,
57
+ addGlobalFn : ( key , fn , name = false , parent = window ) => {
58
+ if ( ! false && key . startsWith ( 'pjax' ) ) return
59
+ const globalFn = parent . globalFn || { }
60
+ globalFn [ key ] = globalFn [ key ] || { }
61
+ globalFn [ key ] [ name || Object . keys ( globalFn [ key ] ) . length ] = fn
62
+ parent . globalFn = globalFn
63
+ }
64
+ }
65
+
66
+
67
+ const activateDarkMode = ( ) => {
68
+ document . documentElement . setAttribute ( 'data-theme' , 'dark' )
69
+ if ( document . querySelector ( 'meta[name="theme-color"]' ) !== null ) {
70
+ document . querySelector ( 'meta[name="theme-color"]' ) . setAttribute ( 'content' , '#0d0d0d' )
71
+ }
72
+ }
73
+ const activateLightMode = ( ) => {
74
+ document . documentElement . setAttribute ( 'data-theme' , 'light' )
75
+ if ( document . querySelector ( 'meta[name="theme-color"]' ) !== null ) {
76
+ document . querySelector ( 'meta[name="theme-color"]' ) . setAttribute ( 'content' , '#ffffff' )
77
+ }
78
+ }
79
+
80
+ btf . activateDarkMode = activateDarkMode
81
+ btf . activateLightMode = activateLightMode
82
+
83
+ const theme = saveToLocal . get ( 'theme' )
84
+
85
+ const mediaQueryDark = window . matchMedia ( '(prefers-color-scheme: dark)' )
86
+ const mediaQueryLight = window . matchMedia ( '(prefers-color-scheme: light)' )
87
+
88
+ if ( theme === undefined ) {
89
+ if ( mediaQueryLight . matches ) activateLightMode ( )
90
+ else if ( mediaQueryDark . matches ) activateDarkMode ( )
91
+ else {
92
+ const hour = new Date ( ) . getHours ( )
93
+ const isNight = hour <= 6 || hour >= 18
94
+ isNight ? activateDarkMode ( ) : activateLightMode ( )
95
+ }
96
+ mediaQueryDark . addEventListener ( 'change' , ( ) => {
97
+ if ( saveToLocal . get ( 'theme' ) === undefined ) {
98
+ e . matches ? activateDarkMode ( ) : activateLightMode ( )
99
+ }
100
+ } )
101
+ } else {
102
+ theme === 'light' ? activateLightMode ( ) : activateDarkMode ( )
103
+ }
104
+
105
+
106
+ const asideStatus = saveToLocal . get ( 'aside-status' )
107
+ if ( asideStatus !== undefined ) {
108
+ document . documentElement . classList . toggle ( 'hide-aside' , asideStatus === 'hide' )
109
+ }
110
+
111
+
112
+ const detectApple = ( ) => {
113
+ if ( / i P a d | i P h o n e | i P o d | M a c i n t o s h / . test ( navigator . userAgent ) ) {
114
+ document . documentElement . classList . add ( 'apple' )
115
+ }
116
+ }
117
+ detectApple ( )
118
+
119
+ } ) ( )
120
+ </ script > < script > const GLOBAL_CONFIG = {
121
+ root : '/' ,
122
+ algolia : undefined ,
123
+ localSearch : undefined ,
124
+ translate : undefined ,
125
+ highlight : { "plugin" :"highlight.js" , "highlightCopy" :true , "highlightLang" :true , "highlightHeightLimit" :false , "highlightFullpage" :false , "highlightMacStyle" :false } ,
126
+ copy : {
127
+ success : '复制成功' ,
128
+ error : '复制失败' ,
129
+ noSupport : '浏览器不支持'
130
+ } ,
131
+ relativeDate : {
132
+ homepage : false ,
133
+ post : false
134
+ } ,
135
+ runtime : '' ,
136
+ dateSuffix : {
137
+ just : '刚刚' ,
138
+ min : '分钟前' ,
139
+ hour : '小时前' ,
140
+ day : '天前' ,
141
+ month : '个月前'
142
+ } ,
143
+ copyright : undefined ,
144
+ lightbox : 'null' ,
145
+ Snackbar : undefined ,
146
+ infinitegrid : {
147
+ js : 'https://cdn.jsdelivr.net/npm/@egjs/infinitegrid/dist/infinitegrid.min.js' ,
148
+ buttonText : '加载更多'
149
+ } ,
150
+ isPhotoFigcaption : false ,
151
+ islazyloadPlugin : false ,
152
+ isAnchor : true ,
153
+ percent : {
154
+ toc : true ,
155
+ rightside : true ,
156
+ } ,
157
+ autoDarkmode : true
158
+ } </ script > < script id ="config-diff "> var GLOBAL_CONFIG_SITE = {
159
+ title : '红狼 | 得吃王6666' ,
160
+ isHighlightShrink : false ,
161
+ isToc : false ,
162
+ pageType : 'page'
163
+ } </ script > < meta name ="generator " content ="Hexo 7.3.0 "> < link rel ="alternate " href ="/atom.xml " title ="红狼 | 得吃王6666 " type ="application/atom+xml ">
164
+ </ head > < body > < div id ="web_bg " style ="background-image: url(/img/index.jpg); "> </ div > < div id ="sidebar "> < div id ="menu-mask "> </ div > < div id ="sidebar-menus "> < div class ="avatar-img text-center "> < img src ="/img/butterfly-icon.jpg " onerror ="this.onerror=null;this.src='/img/friend_404.gif' " alt ="avatar "/> </ div > < div class ="site-data text-center "> < a href ="/archives/ "> < div class ="headline "> 文章</ div > < div class ="length-num "> 2</ div > </ a > < a href ="/tags/ "> < div class ="headline "> 标签</ div > < div class ="length-num "> 0</ div > </ a > < a href ="/categories/ "> < div class ="headline "> 分类</ div > < div class ="length-num "> 0</ div > </ a > </ div > < div class ="menus_items "> < div class ="menus_item "> < a class ="site-page " href ="/mc/ "> < i class ="fa-fw fas fa-gamepad "> </ i > < span > Minecraft</ span > </ a > </ div > </ div > </ div > </ div > < div class ="page type-404 " id ="body-wrap "> < header class ="not-top-img " id ="page-header "> < nav id ="nav "> < span id ="blog-info "> < a class ="nav-site-title " href ="/ "> < span class ="site-name "> 红狼 | 得吃王6666</ span > </ a > </ span > < div id ="menus "> < div class ="menus_items "> < div class ="menus_item "> < a class ="site-page " href ="/mc/ "> < i class ="fa-fw fas fa-gamepad "> </ i > < span > Minecraft</ span > </ a > </ div > </ div > < div id ="toggle-menu "> < span class ="site-page "> < i class ="fas fa-bars fa-fw "> </ i > </ span > </ div > </ div > </ nav > < h1 class ="title-seo "> 红狼 | 得吃王6666</ h1 > </ header > < main class ="layout hide-aside " id ="content-inner "> < div class ="nc " id ="page "> < div class ="error-content "> < div class ="error-img "> < img src ="/img/error-page.png " alt ="Page not found "> </ div > < div class ="error-info "> < h1 class ="error_title "> 404</ h1 > < div class ="error_subtitle "> 三角洲行动搜索[得吃王6666]</ div > </ div > </ div > </ div > </ main > < footer id ="footer " style ="background-image: url(/img/index.jpg); "> < div id ="footer-wrap "> < div class ="copyright "> ©2014 - 2025 By Xcoding422</ div > < div class ="framework-info "> < span > 框架 </ span > < a target ="_blank " rel ="noopener " href ="https://hexo.io "> Hexo 7.3.0</ a > < span class ="footer-separator "> |</ span > < span > 主题 </ span > < a target ="_blank " rel ="noopener " href ="https://github.com/jerryc127/hexo-theme-butterfly "> Butterfly 5.3.3</ a > </ div > < div class ="footer_custom_text "> CopyRight © 2014 Xcoding422</ div > </ div > </ footer > </ div > < div id ="rightside "> < div id ="rightside-config-hide "> < button id ="darkmode " type ="button " title ="日间和夜间模式切换 "> < i class ="fas fa-adjust "> </ i > </ button > </ div > < div id ="rightside-config-show "> < button id ="rightside-config " type ="button " title ="设置 "> < i class ="fas fa-cog fa-spin "> </ i > </ button > < button id ="go-up " type ="button " title ="回到顶部 "> < span class ="scroll-percent "> </ span > < i class ="fas fa-arrow-up "> </ i > </ button > </ div > </ div > < div > < script src ="/js/utils.js "> </ script > < script src ="/js/main.js "> </ script > < div class ="js-pjax "> </ div > < canvas class ="fireworks " mobile ="true "> </ canvas > < script src ="https://cdn.jsdelivr.net/npm/butterfly-extsrc/dist/fireworks.min.js "> </ script > < script async data-pjax src ="//busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js "> </ script > </ div > </ body > </ html >
0 commit comments