This repository has been archived by the owner on Mar 29, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
1369.html
288 lines (254 loc) · 25 KB
/
1369.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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
<!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"><title>主页又又又换新了 | 随意之光博客</title><meta name="keywords" content="网站建设,主页"><meta name="author" content="随意之光"><meta name="copyright" content="随意之光"><meta name="format-detection" content="telephone=no"><meta name="theme-color" content="#ffffff"><meta name="description" content="经过不知道多长时间,主页又又又换新了">
<meta property="og:type" content="article">
<meta property="og:title" content="主页又又又换新了">
<meta property="og:url" content="https://isuiyi.xyz/1369.html">
<meta property="og:site_name" content="随意之光博客">
<meta property="og:description" content="经过不知道多长时间,主页又又又换新了">
<meta property="og:locale" content="zh_CN">
<meta property="og:image" content="https://image.suiyil.cn/Watanabe-You/302UR-Watanabe-You-電車を走らせるよ-いけーー-おもちゃの世界へようこそ-RfjYto.png">
<meta property="article:published_time" content="2020-09-27T07:27:31.000Z">
<meta property="article:modified_time" content="2020-12-25T13:04:43.130Z">
<meta property="article:author" content="随意之光">
<meta property="article:tag" content="网站建设">
<meta property="article:tag" content="主页">
<meta name="twitter:card" content="summary">
<meta name="twitter:image" content="https://image.suiyil.cn/Watanabe-You/302UR-Watanabe-You-電車を走らせるよ-いけーー-おもちゃの世界へようこそ-RfjYto.png"><link rel="shortcut icon" href="/img/favicon.png"><link rel="canonical" href="https://isuiyi.xyz/1369"><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" media="print" onload="this.media='all'"><script>const GLOBAL_CONFIG = {
root: '/',
algolia: undefined,
localSearch: undefined,
translate: undefined,
noticeOutdate: undefined,
highlight: {"plugin":"highlighjs","highlightCopy":true,"highlightLang":true,"highlightHeightLimit":false},
copy: {
success: '复制成功',
error: '复制错误',
noSupport: '浏览器不支持'
},
relativeDate: {
homepage: false,
post: false
},
runtime: '',
date_suffix: {
just: '刚刚',
min: '分钟前',
hour: '小时前',
day: '天前',
month: '个月前'
},
copyright: undefined,
lightbox: 'fancybox',
Snackbar: undefined,
source: {
jQuery: 'https://cdn.jsdelivr.net/npm/jquery@latest/dist/jquery.min.js',
justifiedGallery: {
js: 'https://cdn.jsdelivr.net/npm/justifiedGallery/dist/js/jquery.justifiedGallery.min.js',
css: 'https://cdn.jsdelivr.net/npm/justifiedGallery/dist/css/justifiedGallery.min.css'
},
fancybox: {
js: 'https://cdn.jsdelivr.net/npm/@fancyapps/fancybox@latest/dist/jquery.fancybox.min.js',
css: 'https://cdn.jsdelivr.net/npm/@fancyapps/fancybox@latest/dist/jquery.fancybox.min.css'
}
},
isPhotoFigcaption: false,
islazyload: false,
isanchor: false
}</script><script id="config-diff">var GLOBAL_CONFIG_SITE = {
title: '主页又又又换新了',
isPost: true,
isHome: false,
isHighlightShrink: false,
isToc: false,
postUpdate: '2020-12-25 21:04:43'
}</script><noscript><style type="text/css">
#nav {
opacity: 1
}
.justified-gallery img {
opacity: 1
}
#recent-posts time,
#post-meta time {
display: inline !important
}
</style></noscript><script>(win=>{
win.saveToLocal = {
set: function setWithExpiry(key, value, ttl) {
if (ttl === 0) return
const now = new Date()
const expiryDay = ttl * 86400000
const item = {
value: value,
expiry: now.getTime() + expiryDay,
}
localStorage.setItem(key, JSON.stringify(item))
},
get: function getWithExpiry(key) {
const itemStr = localStorage.getItem(key)
if (!itemStr) {
return undefined
}
const item = JSON.parse(itemStr)
const now = new Date()
if (now.getTime() > item.expiry) {
localStorage.removeItem(key)
return undefined
}
return item.value
}
}
win.getScript = url => new Promise((resolve, reject) => {
const script = document.createElement('script')
script.src = url
script.async = true
script.onerror = reject
script.onload = script.onreadystatechange = function() {
const loadState = this.readyState
if (loadState && loadState !== 'loaded' && loadState !== 'complete') return
script.onload = script.onreadystatechange = null
resolve()
}
document.head.appendChild(script)
})
win.activateDarkMode = function () {
document.documentElement.setAttribute('data-theme', 'dark')
if (document.querySelector('meta[name="theme-color"]') !== null) {
document.querySelector('meta[name="theme-color"]').setAttribute('content', '#0d0d0d')
}
}
win.activateLightMode = function () {
document.documentElement.setAttribute('data-theme', 'light')
if (document.querySelector('meta[name="theme-color"]') !== null) {
document.querySelector('meta[name="theme-color"]').setAttribute('content', '#ffffff')
}
}
const t = saveToLocal.get('theme')
if (t === 'dark') activateDarkMode()
else if (t === 'light') activateLightMode()
const asideStatus = saveToLocal.get('aside-status')
if (asideStatus !== undefined) {
if (asideStatus === 'hide') {
document.documentElement.classList.add('hide-aside')
} else {
document.documentElement.classList.remove('hide-aside')
}
}
const detectApple = () => {
if (GLOBAL_CONFIG_SITE.isHome && /iPad|iPhone|iPod|Macintosh/.test(navigator.userAgent)){
document.documentElement.classList.add('apple')
}
}
detectApple()
document.addEventListener('pjax:complete', detectApple)})(window)</script><link href="https://blog.suiyil.cn/diy/main.css" rel="stylesheet"><meta name="generator" content="Hexo 5.3.0"><link rel="alternate" href="/atom.xml" title="随意之光博客" type="application/atom+xml">
</head><body><div id="sidebar"><div id="menu-mask"></div><div id="sidebar-menus"><div class="avatar-img is-center"><img src="/null" onerror="onerror=null;src='/img/friend_404.gif'" alt="avatar"/></div><div class="site-data"><div class="data-item is-center"><div class="data-item-link"><a href="/archives/"><div class="headline">文章</div><div class="length-num">47</div></a></div></div><div class="data-item is-center"><div class="data-item-link"><a href="/tags/"><div class="headline">标签</div><div class="length-num">20</div></a></div></div><div class="data-item is-center"><div class="data-item-link"><a href="/categories/"><div class="headline">分类</div><div class="length-num">13</div></a></div></div></div><hr/><div class="menus_items"><div class="menus_item"><a class="site-page" href="/"><i class="fa-fw fas fa-home"></i><span> 主页</span></a></div><div class="menus_item"><a class="site-page" href="/link/"><i class="fa-fw fas fa-link"></i><span> 友情链接</span></a></div></div></div></div><div class="post" id="body-wrap"><header class="post-bg" id="page-header" style="background-image: url('https://image.suiyil.cn/Watanabe-You/302UR-Watanabe-You-電車を走らせるよ-いけーー-おもちゃの世界へようこそ-RfjYto.png')"><nav id="nav"><span id="blog_name"><a id="site-name" href="/">随意之光博客</a></span><div id="menus"><div class="menus_items"><div class="menus_item"><a class="site-page" href="/"><i class="fa-fw fas fa-home"></i><span> 主页</span></a></div><div class="menus_item"><a class="site-page" href="/link/"><i class="fa-fw fas fa-link"></i><span> 友情链接</span></a></div></div><div id="toggle-menu"><a class="site-page"><i class="fas fa-bars fa-fw"></i></a></div></div></nav><div id="post-info"><h1 class="post-title">主页又又又换新了</h1><div id="post-meta"><div class="meta-firstline"><span class="post-meta-date"><i class="far fa-calendar-alt fa-fw post-meta-icon"></i><span class="post-meta-label">发表于</span><time class="post-meta-date-created" datetime="2020-09-27T07:27:31.000Z" title="发表于 2020-09-27 15:27:31">2020-09-27</time><span class="post-meta-separator">|</span><i class="fas fa-history fa-fw post-meta-icon"></i><span class="post-meta-label">更新于</span><time class="post-meta-date-updated" datetime="2020-12-25T13:04:43.130Z" title="更新于 2020-12-25 21:04:43">2020-12-25</time></span><span class="post-meta-categories"><span class="post-meta-separator">|</span><i class="fas fa-inbox fa-fw post-meta-icon"></i><a class="post-meta-categories" href="/categories/%E7%BD%91%E7%AB%99%E5%BB%BA%E8%AE%BE/">网站建设</a></span></div><div class="meta-secondline"><span class="post-meta-separator">|</span><span class="post-meta-pv-cv" id="" data-flag-title="主页又又又换新了"><i class="far fa-eye fa-fw post-meta-icon"></i><span class="post-meta-label">阅读量:</span><span id="busuanzi_value_page_pv"></span></span></div></div></div></header><main class="layout" id="content-inner"><div id="post"><article class="post-content" id="article-container"><p>经过不知道多长时间,主页又又又换新了</p>
<a id="more"></a>
<hr>
<p>之前的那个主页是在一个个人模板网站下载的,在我一顿乱改下放上去的,有一说一,这个主页在不同的浏览器显示的细节不同。最近越看越难受。 挺喜欢Fly の 宅基地<a target="_blank" rel="noopener" href="https://fly.moe/">(https://fly.moe/)</a>这个页面,几个月前作者把页面代码开源了,我就下载下来准备换上,然后就咕了。 [github author=”fly3949” project=”fly.moe” /] 今天在看服务器文件时突然看到这个文件夹,于是就稍作修改把之前的换掉了。 现在的主页<a target="_blank" rel="noopener" href="https://www.suiyil.cn/">https://www.suiyil.cn</a> 老的主页也没删,放在old目录下留个纪念吧<a target="_blank" rel="noopener" href="https://www.suiyil.cn/old/">https://www.suiyil.cn/old/</a> 好了今天的文章水完了,逃了(</p>
</article><div class="post-copyright"><div class="post-copyright__author"><span class="post-copyright-meta">文章作者: </span><span class="post-copyright-info"><a href="mailto:undefined">随意之光</a></span></div><div class="post-copyright__type"><span class="post-copyright-meta">文章链接: </span><span class="post-copyright-info"><a href="https://isuiyi.xyz/1369.html">https://isuiyi.xyz/1369.html</a></span></div><div class="post-copyright__notice"><span class="post-copyright-meta">版权声明: </span><span class="post-copyright-info">本博客所有文章除特别声明外,均采用 <a href="https://creativecommons.org/licenses/by-nc-sa/4.0/" target="_blank">CC BY-NC-SA 4.0</a> 许可协议。转载请注明来自 <a href="https://isuiyi.xyz" target="_blank">随意之光博客</a>!</span></div></div><div class="tag_share"><div class="post-meta__tag-list"><a class="post-meta__tags" href="/tags/%E7%BD%91%E7%AB%99%E5%BB%BA%E8%AE%BE/">网站建设</a><a class="post-meta__tags" href="/tags/%E4%B8%BB%E9%A1%B5/">主页</a></div><div class="post_share"><div class="social-share" data-image="https://image.suiyil.cn/Watanabe-You/302UR-Watanabe-You-電車を走らせるよ-いけーー-おもちゃの世界へようこそ-RfjYto.png" data-sites="wechat,weibo,qq"></div><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/social-share.js/dist/css/share.min.css" media="print" onload="this.media='all'"><script src="https://cdn.jsdelivr.net/npm/social-share.js/dist/js/social-share.min.js" defer></script></div></div><nav class="pagination-post" id="pagination"><div class="prev-post pull-left"><a href="/1501.html"><img class="prev-cover" src="https://image.suiyil.cn/Watanabe-You/367UR-Watanabe-You-やったーーー-勝ちーーーー-サンタガールが街にやってくる-kkzTe3.png" onerror="onerror=null;src='/img/404.jpg'" alt="cover of previous post"><div class="pagination-info"><div class="label">上一篇</div><div class="prev_info">WordPress插件更新失败?试试WP-China-Yes 插件一键加速升级!</div></div></a></div><div class="next-post pull-right"><a href="/1340.html"><img class="next-cover" src="https://image.suiyil.cn/Watanabe-You/35Watanabe-You-UR-ESd3IW.jpg" onerror="onerror=null;src='/img/404.jpg'" alt="cover of next post"><div class="pagination-info"><div class="label">下一篇</div><div class="next_info">网易云音乐API</div></div></a></div></nav><div class="relatedPosts"><div class="headline"><i class="fas fa-thumbs-up fa-fw"></i><span>相关推荐</span></div><div class="relatedPosts-list"><div><a href="/407.html" title="主页极简化"><img class="cover" src="https://image.suiyil.cn/Watanabe-You/153Watanabe-You-このアトラクション-面白ーい-UR-1SMb6A.jpg" alt="cover"><div class="content is-center"><div class="date"><i class="far fa-calendar-alt fa-fw"></i> 2020-02-20</div><div class="title">主页极简化</div></div></a></div><div><a href="/486.html" title="随意之光博客近期更新"><img class="cover" src="https://image.suiyil.cn/Watanabe-You/35Watanabe-You-UR-ESd3IW.jpg" alt="cover"><div class="content is-center"><div class="date"><i class="far fa-calendar-alt fa-fw"></i> 2020-03-20</div><div class="title">随意之光博客近期更新</div></div></a></div><div><a href="/565.html" title="开启评论测试"><img class="cover" src="https://image.suiyil.cn/Watanabe-You/228UR-Watanabe-You-いったたた-Snow-Crystal-Bf56X3.png" alt="cover"><div class="content is-center"><div class="date"><i class="far fa-calendar-alt fa-fw"></i> 2020-04-21</div><div class="title">开启评论测试</div></div></a></div><div><a href="/1.html" title="世界,您好!"><img class="cover" src="https://image.suiyil.cn/Watanabe-You/367UR-Watanabe-You-やったーーー-勝ちーーーー-サンタガールが街にやってくる-ildvSF.png" alt="cover"><div class="content is-center"><div class="date"><i class="far fa-calendar-alt fa-fw"></i> 2019-09-05</div><div class="title">世界,您好!</div></div></a></div><div><a href="/20.html" title="随意之光主页上线"><img class="cover" src="https://image.suiyil.cn/Watanabe-You/35Watanabe-You-UR-ESd3IW.jpg" alt="cover"><div class="content is-center"><div class="date"><i class="far fa-calendar-alt fa-fw"></i> 2019-10-05</div><div class="title">随意之光主页上线</div></div></a></div><div><a href="/890.html" title="更换主题的日常"><img class="cover" src="https://image.suiyil.cn/Watanabe-You/133Watanabe-You-せっかく一緒に海に来たんだし-UR-8wzOCl.png" alt="cover"><div class="content is-center"><div class="date"><i class="far fa-calendar-alt fa-fw"></i> 2020-07-30</div><div class="title">更换主题的日常</div></div></a></div></div></div><hr/><div id="post-comment"><div class="comment-head"><div class="comment-headline"><i class="fas fa-comments fa-fw"></i><span> 评论</span></div></div><div class="comment-wrap"><div><div id="gitalk-container"></div></div></div></div></div><div class="aside-content" id="aside-content"><div class="card-widget card-info"><div class="is-center"><div class="avatar-img"><img src="/null" onerror="this.onerror=null;this.src='/img/friend_404.gif'" alt="avatar"/></div><div class="author-info__name">随意之光</div><div class="author-info__description"></div></div><div class="card-info-data"><div class="card-info-data-item is-center"><a href="/archives/"><div class="headline">文章</div><div class="length-num">47</div></a></div><div class="card-info-data-item is-center"><a href="/tags/"><div class="headline">标签</div><div class="length-num">20</div></a></div><div class="card-info-data-item is-center"><a href="/categories/"><div class="headline">分类</div><div class="length-num">13</div></a></div></div><a class="button--animated" id="card-info-btn" target="_blank" rel="noopener" href="https://github.com/suiyi-light"><i class="fab fa-github"></i><span>Follow Me</span></a></div><div class="card-widget card-announcement"><div class="item-headline"><i class="fas fa-bullhorn card-announcement-animation"></i><span>公告</span></div><div class="announcement_content">本站已关闭,请访问<a target="_blank" rel="noopener" href="https://blog.suiyil.cn/">随意之光博客</a></div></div><div class="sticky_layout"><div class="card-widget card-recent-post"><div class="item-headline"><i class="fas fa-history"></i><span>最新文章</span></div><div class="aside-list"><div class="aside-list-item"><a class="thumbnail" href="/2022-1.html" title="测试rss"><img src="https://image.suiyil.cn/Watanabe-You/35Watanabe-You-UR-ESd3IW.jpg" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="测试rss"/></a><div class="content"><a class="title" href="/2022-1.html" title="测试rss">测试rss</a><time datetime="2022-02-20T10:12:10.000Z" title="发表于 2022-02-20 18:12:10">2022-02-20</time></div></div><div class="aside-list-item"><a class="thumbnail" href="/close.html" title="随意之光博客hexo关闭通知"><img src="https://image.suiyil.cn/Watanabe-You/153Watanabe-You-このアトラクション-面白ーい-UR-1SMb6A.jpg" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="随意之光博客hexo关闭通知"/></a><div class="content"><a class="title" href="/close.html" title="随意之光博客hexo关闭通知">随意之光博客hexo关闭通知</a><time datetime="2021-09-11T12:21:48.000Z" title="发表于 2021-09-11 20:21:48">2021-09-11</time></div></div><div class="aside-list-item"><a class="thumbnail" href="/10000.html" title="转换基本完成"><img src="https://image.suiyil.cn/Watanabe-You/302UR-Watanabe-You-電車を走らせるよ-いけーー-おもちゃの世界へようこそ-ziJzvW.png" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="转换基本完成"/></a><div class="content"><a class="title" href="/10000.html" title="转换基本完成">转换基本完成</a><time datetime="2020-12-27T11:20:04.000Z" title="发表于 2020-12-27 19:20:04">2020-12-27</time></div></div><div class="aside-list-item"><a class="thumbnail" href="/hello-hexo.html" title="Hello World"><img src="https://image.suiyil.cn/Watanabe-You/153Watanabe-You-このアトラクション-面白ーい-UR-1SMb6A.jpg" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="Hello World"/></a><div class="content"><a class="title" href="/hello-hexo.html" title="Hello World">Hello World</a><time datetime="2020-12-25T12:28:28.686Z" title="发表于 2020-12-25 20:28:28">2020-12-25</time></div></div><div class="aside-list-item"><a class="thumbnail" href="/1846.html" title="添加了表情包"><img src="https://image.suiyil.cn/Watanabe-You/35Watanabe-You-UR-ESd3IW.jpg" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="添加了表情包"/></a><div class="content"><a class="title" href="/1846.html" title="添加了表情包">添加了表情包</a><time datetime="2020-12-24T15:14:59.000Z" title="发表于 2020-12-24 23:14:59">2020-12-24</time></div></div></div></div></div></div></main><footer id="footer"><div id="footer-wrap"><div class="copyright">©2020 - 2022 By 随意之光</div><div class="framework-info"><span>框架 </span><a target="_blank" rel="noopener" href="https://hexo.io">Hexo</a><span class="footer-separator">|</span><span>主题 </span><a target="_blank" rel="noopener" href="https://github.com/jerryc127/hexo-theme-butterfly">Butterfly</a></div><div class="footer_custom_text">随意之光博客</div></div></footer></div><div id="rightside"><div id="rightside-config-hide"><button id="readmode" type="button" title="阅读模式"><i class="fas fa-book-open"></i></button><button id="darkmode" type="button" title="浅色和深色模式转换"><i class="fas fa-adjust"></i></button><button id="hide-aside-btn" type="button" title="单栏和双栏切换"><i class="fas fa-arrows-alt-h"></i></button></div><div id="rightside-config-show"><button id="rightside_config" type="button" title="设置"><i class="fas fa-cog fa-spin"></i></button><a id="to_comment" href="#post-comment" title="直达评论"><i class="fas fa-comments"></i></a><button id="go-up" type="button" title="回到顶部"><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"><script>function addGitalkSource () {
const ele = document.createElement('link')
ele.rel = 'stylesheet'
ele.href= 'https://cdn.jsdelivr.net/npm/gitalk/dist/gitalk.min.css'
document.getElementsByTagName('head')[0].appendChild(ele)
}
function loadGitalk () {
function initGitalk () {
var gitalk = new Gitalk(Object.assign({
clientID: 'd96ddf786f099ecaa11f',
clientSecret: 'de7bf5ef12e2fb320d3899d64df5d2be1755cb3a',
repo: 'comments-data',
owner: 'Suiyi-Light',
admin: ['Suiyi-Light'],
id: 'cae5b4775470eefca3061e90151fd2da',
language: 'zh-CN',
perPage: 10,
distractionFreeMode: false,
pagerDirection: 'last',
createIssueManually: false,
updateCountCallback: commentCount
},null))
gitalk.render('gitalk-container')
}
if (typeof Gitalk === 'function') initGitalk()
else {
addGitalkSource()
getScript('https://cdn.jsdelivr.net/npm/gitalk@latest/dist/gitalk.min.js').then(initGitalk)
}
}
function commentCount(n){
let isCommentCount = document.querySelector('#post-meta .gitalk-comment-count')
if (isCommentCount) {
isCommentCount.innerHTML= n
}
}
if ('Gitalk' === 'Gitalk' || !false) {
if (false) btf.loadComment(document.getElementById('gitalk-container'), loadGitalk)
else loadGitalk()
} else {
function loadOtherComment () {
loadGitalk()
}
}</script></div><div class="aplayer no-destroy" data-id="5225821464" data-server="netease" data-type="playlist" data-fixed="true" data-mini="true" data-listFolded="false" data-order="random" data-preload="none" data-autoplay="false" muted></div><script> var meting_api='https://api.suiyil.cn/meting-api-s/index.php?server=:server&type=:type&id=:id'; </script><canvas class="fireworks" mobile="false"></canvas><script src="https://cdn.jsdelivr.net/npm/butterfly-extsrc@1/dist/fireworks.min.js"></script><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/aplayer/dist/APlayer.min.css" media="print" onload="this.media='all'"><script src="https://cdn.jsdelivr.net/npm/aplayer/dist/APlayer.min.js"></script><script src="https://cdn.jsdelivr.net/gh/metowolf/[email protected]/dist/Meting.min.js"></script><script src="https://cdn.jsdelivr.net/npm/pjax/pjax.min.js"></script><script>let pjaxSelectors = [
'title',
'#config-diff',
'#body-wrap',
'#rightside-config-hide',
'#rightside-config-show',
'.js-pjax'
]
if (false) {
pjaxSelectors.unshift('meta[property="og:image"]', 'meta[property="og:title"]', 'meta[property="og:url"]')
}
var pjax = new Pjax({
elements: 'a:not([target="_blank"])',
selectors: pjaxSelectors,
cacheBust: false,
analytics: false,
scrollRestoration: false
})
document.addEventListener('pjax:send', function () {
// removeEventListener scroll
window.removeEventListener('scroll', window.tocScrollFn)
window.removeEventListener('scroll', scrollCollect)
typeof preloader === 'object' && preloader.initLoading()
if (window.aplayers) {
for (let i = 0; i < window.aplayers.length; i++) {
if (!window.aplayers[i].options.fixed) {
window.aplayers[i].destroy()
}
}
}
typeof typed === 'object' && typed.destroy()
//reset readmode
const $bodyClassList = document.body.classList
$bodyClassList.contains('read-mode') && $bodyClassList.remove('read-mode')
})
document.addEventListener('pjax:complete', function () {
window.refreshFn()
document.querySelectorAll('script[data-pjax]').forEach(item => {
const newScript = document.createElement('script')
const content = item.text || item.textContent || item.innerHTML || ""
Array.from(item.attributes).forEach(attr => newScript.setAttribute(attr.name, attr.value))
newScript.appendChild(document.createTextNode(content))
item.parentNode.replaceChild(newScript, item)
})
GLOBAL_CONFIG.islazyload && window.lazyLoadInstance.update()
typeof chatBtnFn === 'function' && chatBtnFn()
typeof panguInit === 'function' && panguInit()
// google analytics
typeof gtag === 'function' && gtag('config', '', {'page_path': window.location.pathname});
// baidu analytics
typeof _hmt === 'object' && _hmt.push(['_trackPageview',window.location.pathname]);
typeof loadMeting === 'function' && document.getElementsByClassName('aplayer').length && loadMeting()
// Analytics
if (false) {
MtaH5.pgv()
}
// prismjs
typeof Prism === 'object' && Prism.highlightAll()
typeof preloader === 'object' && preloader.endLoading()
})
document.addEventListener('pjax:error', (e) => {
if (e.request.status === 404) {
pjax.loadUrl('/404.html')
}
})</script><script async data-pjax src="//busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js"></script></div></body></html>