q78kgblog 0.0.0-1720441708496 → 0.0.0-1720859005089
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/404.html +3 -3
- package/about/index.html +5 -5
- package/archives/2023/02/index.html +4 -4
- package/archives/2023/04/index.html +4 -4
- package/archives/2023/05/index.html +4 -4
- package/archives/2023/08/index.html +4 -4
- package/archives/2023/09/index.html +4 -4
- package/archives/2023/index.html +4 -4
- package/archives/2024/01/index.html +4 -4
- package/archives/2024/02/index.html +4 -4
- package/archives/2024/index.html +4 -4
- package/archives/index.html +4 -4
- package/atom.xml +9 -9
- package/baidusitemap.xml +8 -8
- package/bangumis/index.html +4 -4
- package/bigpie/index.html +3 -3
- package/categories/Hexo/index.html +4 -4
- package/categories/index.html +3 -3
- package/categories//345/271/264/347/273/210/346/200/273/347/273/223/index.html +4 -4
- package/categories//347/264/240/346/235/220/index.html +4 -4
- package/categories//351/227/262/350/201/212/346/235/202/350/260/210/index.html +4 -4
- package/content.json +1 -1
- package/css/404page.css +1 -65
- package/css/ariasakablog.css +1 -6669
- package/css/commentBarrage.css +1 -118
- package/css/danmaku.css +1 -106
- package/css/essay.css +1 -306
- package/css/iconfont.css +1 -55
- package/css/index.css +1 -7006
- package/css/people.css +1 -18
- package/css/stylessimple.css +1 -40
- package/css/swiperstyle.css +1 -567
- package/fcircle/index.html +3 -3
- package/fontawesome/index.html +3 -3
- package/index.html +11 -11
- package/js/aplayersave.js +1 -268
- package/js/baiduhistory.js +1 -76
- package/js/browser.js +1 -35
- package/js/calendar.js +1 -380
- package/js/cate.js +1 -22
- package/js/commentBarrage.js +17 -232
- package/js/commentsCount.js +1 -43
- package/js/copy.js +1 -23
- package/js/countup.js +1 -209
- package/js/cursor.js +1 -82
- package/js/danmaku.js +0 -106
- package/js/day.js +13 -195
- package/js/dianzan.js +1 -249
- package/js/dis.js +4 -252
- package/js/dist/baiduhistory.dev.js +1 -102
- package/js/dist/bbtalk.dev.js +159 -12872
- package/js/dist/bbtalklunbo.dev.js +1 -45
- package/js/dist/calendar.dev.js +1 -395
- package/js/dist/fixbugpjax.dev.js +1 -8
- package/js/dist/gongnong.dev.js +1 -565
- package/js/dist/heimu.dev.js +1 -19
- package/js/dist/links.dev.js +1 -13
- package/js/dist/main.dev.js +5 -843
- package/js/dist/resizeTop.dev.js +1 -50
- package/js/dist/seo.dev.js +1 -33
- package/js/dist/twikoo.all.min.dev.js +946 -1
- package/js/fixbugpjax.js +1 -7
- package/js/fixed_card_widget.js +1 -46
- package/js/fps.js +1 -58
- package/js/gitalker.js +1 -11
- package/js/heimu.js +1 -16
- package/js/hide.show.js +1 -17
- package/js/languages.js +1 -511
- package/js/latest.js +1 -49
- package/js/local-search.js +2 -476
- package/js/lunar.js +1 -1071
- package/js/lyxTalk.js +1 -12
- package/js/main.js +5 -781
- package/js/nav.js +1 -30
- package/js/noie.js +1 -3
- package/js/owo.js +1 -52
- package/js/people.js +2 -175
- package/js/randomFriend.js +1 -95
- package/js/resizeTop.js +1 -43
- package/js/rightmenu.js +3 -333
- package/js/sakura.js +1 -164
- package/js/search/algolia.js +4 -154
- package/js/search/local-search.js +1 -188
- package/js/settings.js +3 -343
- package/js/sitetime.js +1 -25
- package/js/smooth-scrolling.js +1 -546
- package/js/sw-toolbox.js +1 -16
- package/js/swiperinit.js +1 -23
- package/js/tw_cn.js +1 -100
- package/js/utils.js +1 -278
- package/js/welcome.js +1 -107
- package/js/welcomeconsole.js +1 -23
- package/links/index.html +3 -3
- package/othersite/index.html +3 -3
- package/package.json +1 -1
- package/posts/164ef646/index.html +6 -6
- package/posts/228c2ef8/index.html +6 -6
- package/posts/a9a6c1fb/index.html +6 -6
- package/posts/c262e439/index.html +6 -6
- package/posts/c81531cf/index.html +6 -6
- package/posts/ccdf7cfc/index.html +6 -6
- package/posts/de1f83f4/index.html +6 -6
- package/posts/e54f7476/index.html +6 -6
- package/sitemap.xml +49 -49
- package/sw.js +2 -193
- package/swReg.js +1 -29
- package/tags/AI/index.html +5 -5
- package/tags/Butterfly/index.html +5 -5
- package/tags/Cloudflare/index.html +5 -5
- package/tags/DiffSinger/index.html +5 -5
- package/tags/Hexo/index.html +5 -5
- package/tags/Next/index.html +5 -5
- package/tags/RAID/index.html +5 -5
- package/tags/Vercel/index.html +5 -5
- package/tags/Workers/index.html +5 -5
- package/tags/index.html +3 -3
- package/tags//344/270/273/351/242/230/index.html +5 -5
- package/tags//345/206/231/344/275/234/index.html +5 -5
- package/tags//345/245/263/346/200/247/346/204/217/350/257/206/index.html +5 -5
- package/tags//345/255/246/344/271/240/index.html +5 -5
- package/tags//345/256/266/351/207/214/344/272/221/index.html +5 -5
- package/tags//345/271/264/347/273/210/346/200/273/347/273/223/index.html +5 -5
- package/tags//346/212/230/350/205/276/index.html +5 -5
- package/tags//346/227/245/345/270/270/index.html +5 -5
- package/tags//346/234/215/345/212/241/345/231/250/index.html +5 -5
- package/tags//346/265/252/346/275/256/index.html +5 -5
- package/tags//347/256/200/347/210/261/index.html +5 -5
- package/tags//350/207/252/345/212/250/346/240/207/346/263/250/index.html +5 -5
- package/tags//350/256/272/346/226/207/index.html +5 -5
- package/tags//350/260/267/346/255/214/347/277/273/350/257/221/index.html +5 -5
- package/tags//350/264/237/350/275/275/345/235/207/350/241/241/index.html +5 -5
- package/tags//351/207/221/345/217/245/index.html +5 -5
- package/tags//351/255/224/346/224/271/index.html +5 -5
package/sitemap.xml
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
<url>
|
5
5
|
<loc>https://anjiurine.top/posts/c262e439/</loc>
|
6
6
|
|
7
|
-
<lastmod>2024-07-
|
7
|
+
<lastmod>2024-07-13</lastmod>
|
8
8
|
|
9
9
|
<changefreq>monthly</changefreq>
|
10
10
|
<priority>0.6</priority>
|
@@ -13,7 +13,7 @@
|
|
13
13
|
<url>
|
14
14
|
<loc>https://anjiurine.top/posts/164ef646/</loc>
|
15
15
|
|
16
|
-
<lastmod>2024-07-
|
16
|
+
<lastmod>2024-07-13</lastmod>
|
17
17
|
|
18
18
|
<changefreq>monthly</changefreq>
|
19
19
|
<priority>0.6</priority>
|
@@ -22,7 +22,7 @@
|
|
22
22
|
<url>
|
23
23
|
<loc>https://anjiurine.top/posts/e54f7476/</loc>
|
24
24
|
|
25
|
-
<lastmod>2024-07-
|
25
|
+
<lastmod>2024-07-13</lastmod>
|
26
26
|
|
27
27
|
<changefreq>monthly</changefreq>
|
28
28
|
<priority>0.6</priority>
|
@@ -31,7 +31,7 @@
|
|
31
31
|
<url>
|
32
32
|
<loc>https://anjiurine.top/posts/228c2ef8/</loc>
|
33
33
|
|
34
|
-
<lastmod>2024-07-
|
34
|
+
<lastmod>2024-07-13</lastmod>
|
35
35
|
|
36
36
|
<changefreq>monthly</changefreq>
|
37
37
|
<priority>0.6</priority>
|
@@ -40,7 +40,7 @@
|
|
40
40
|
<url>
|
41
41
|
<loc>https://anjiurine.top/posts/ccdf7cfc/</loc>
|
42
42
|
|
43
|
-
<lastmod>2024-07-
|
43
|
+
<lastmod>2024-07-13</lastmod>
|
44
44
|
|
45
45
|
<changefreq>monthly</changefreq>
|
46
46
|
<priority>0.6</priority>
|
@@ -49,7 +49,7 @@
|
|
49
49
|
<url>
|
50
50
|
<loc>https://anjiurine.top/posts/a9a6c1fb/</loc>
|
51
51
|
|
52
|
-
<lastmod>2024-07-
|
52
|
+
<lastmod>2024-07-13</lastmod>
|
53
53
|
|
54
54
|
<changefreq>monthly</changefreq>
|
55
55
|
<priority>0.6</priority>
|
@@ -58,7 +58,7 @@
|
|
58
58
|
<url>
|
59
59
|
<loc>https://anjiurine.top/posts/c81531cf/</loc>
|
60
60
|
|
61
|
-
<lastmod>2024-07-
|
61
|
+
<lastmod>2024-07-13</lastmod>
|
62
62
|
|
63
63
|
<changefreq>monthly</changefreq>
|
64
64
|
<priority>0.6</priority>
|
@@ -67,7 +67,7 @@
|
|
67
67
|
<url>
|
68
68
|
<loc>https://anjiurine.top/posts/de1f83f4/</loc>
|
69
69
|
|
70
|
-
<lastmod>2024-07-
|
70
|
+
<lastmod>2024-07-13</lastmod>
|
71
71
|
|
72
72
|
<changefreq>monthly</changefreq>
|
73
73
|
<priority>0.6</priority>
|
@@ -76,7 +76,7 @@
|
|
76
76
|
<url>
|
77
77
|
<loc>https://anjiurine.top/manifest.json</loc>
|
78
78
|
|
79
|
-
<lastmod>2024-07-
|
79
|
+
<lastmod>2024-07-13</lastmod>
|
80
80
|
|
81
81
|
<changefreq>monthly</changefreq>
|
82
82
|
<priority>0.6</priority>
|
@@ -85,7 +85,7 @@
|
|
85
85
|
<url>
|
86
86
|
<loc>https://anjiurine.top/othersite/index.html</loc>
|
87
87
|
|
88
|
-
<lastmod>2024-07-
|
88
|
+
<lastmod>2024-07-13</lastmod>
|
89
89
|
|
90
90
|
<changefreq>monthly</changefreq>
|
91
91
|
<priority>0.6</priority>
|
@@ -94,7 +94,7 @@
|
|
94
94
|
<url>
|
95
95
|
<loc>https://anjiurine.top/tags/index.html</loc>
|
96
96
|
|
97
|
-
<lastmod>2024-07-
|
97
|
+
<lastmod>2024-07-13</lastmod>
|
98
98
|
|
99
99
|
<changefreq>monthly</changefreq>
|
100
100
|
<priority>0.6</priority>
|
@@ -103,7 +103,7 @@
|
|
103
103
|
<url>
|
104
104
|
<loc>https://anjiurine.top/links/index.html</loc>
|
105
105
|
|
106
|
-
<lastmod>2024-07-
|
106
|
+
<lastmod>2024-07-13</lastmod>
|
107
107
|
|
108
108
|
<changefreq>monthly</changefreq>
|
109
109
|
<priority>0.6</priority>
|
@@ -112,7 +112,7 @@
|
|
112
112
|
<url>
|
113
113
|
<loc>https://anjiurine.top/about/index.html</loc>
|
114
114
|
|
115
|
-
<lastmod>2024-07-
|
115
|
+
<lastmod>2024-07-13</lastmod>
|
116
116
|
|
117
117
|
<changefreq>monthly</changefreq>
|
118
118
|
<priority>0.6</priority>
|
@@ -121,7 +121,7 @@
|
|
121
121
|
<url>
|
122
122
|
<loc>https://anjiurine.top/bangumis/index.html</loc>
|
123
123
|
|
124
|
-
<lastmod>2024-07-
|
124
|
+
<lastmod>2024-07-13</lastmod>
|
125
125
|
|
126
126
|
<changefreq>monthly</changefreq>
|
127
127
|
<priority>0.6</priority>
|
@@ -130,7 +130,7 @@
|
|
130
130
|
<url>
|
131
131
|
<loc>https://anjiurine.top/bigpie/index.html</loc>
|
132
132
|
|
133
|
-
<lastmod>2024-07-
|
133
|
+
<lastmod>2024-07-13</lastmod>
|
134
134
|
|
135
135
|
<changefreq>monthly</changefreq>
|
136
136
|
<priority>0.6</priority>
|
@@ -139,7 +139,7 @@
|
|
139
139
|
<url>
|
140
140
|
<loc>https://anjiurine.top/categories/index.html</loc>
|
141
141
|
|
142
|
-
<lastmod>2024-07-
|
142
|
+
<lastmod>2024-07-13</lastmod>
|
143
143
|
|
144
144
|
<changefreq>monthly</changefreq>
|
145
145
|
<priority>0.6</priority>
|
@@ -148,7 +148,7 @@
|
|
148
148
|
<url>
|
149
149
|
<loc>https://anjiurine.top/fcircle/index.html</loc>
|
150
150
|
|
151
|
-
<lastmod>2024-07-
|
151
|
+
<lastmod>2024-07-13</lastmod>
|
152
152
|
|
153
153
|
<changefreq>monthly</changefreq>
|
154
154
|
<priority>0.6</priority>
|
@@ -157,7 +157,7 @@
|
|
157
157
|
<url>
|
158
158
|
<loc>https://anjiurine.top/fontawesome/index.html</loc>
|
159
159
|
|
160
|
-
<lastmod>2024-07-
|
160
|
+
<lastmod>2024-07-13</lastmod>
|
161
161
|
|
162
162
|
<changefreq>monthly</changefreq>
|
163
163
|
<priority>0.6</priority>
|
@@ -166,7 +166,7 @@
|
|
166
166
|
|
167
167
|
<url>
|
168
168
|
<loc>https://anjiurine.top/</loc>
|
169
|
-
<lastmod>2024-07-
|
169
|
+
<lastmod>2024-07-13</lastmod>
|
170
170
|
<changefreq>daily</changefreq>
|
171
171
|
<priority>1.0</priority>
|
172
172
|
</url>
|
@@ -174,182 +174,182 @@
|
|
174
174
|
|
175
175
|
<url>
|
176
176
|
<loc>https://anjiurine.top/tags/%E6%97%A5%E5%B8%B8/</loc>
|
177
|
-
<lastmod>2024-07-
|
177
|
+
<lastmod>2024-07-13</lastmod>
|
178
178
|
<changefreq>weekly</changefreq>
|
179
179
|
<priority>0.2</priority>
|
180
180
|
</url>
|
181
181
|
|
182
182
|
<url>
|
183
183
|
<loc>https://anjiurine.top/tags/%E5%B9%B4%E7%BB%88%E6%80%BB%E7%BB%93/</loc>
|
184
|
-
<lastmod>2024-07-
|
184
|
+
<lastmod>2024-07-13</lastmod>
|
185
185
|
<changefreq>weekly</changefreq>
|
186
186
|
<priority>0.2</priority>
|
187
187
|
</url>
|
188
188
|
|
189
189
|
<url>
|
190
190
|
<loc>https://anjiurine.top/tags/%E9%AD%94%E6%94%B9/</loc>
|
191
|
-
<lastmod>2024-07-
|
191
|
+
<lastmod>2024-07-13</lastmod>
|
192
192
|
<changefreq>weekly</changefreq>
|
193
193
|
<priority>0.2</priority>
|
194
194
|
</url>
|
195
195
|
|
196
196
|
<url>
|
197
197
|
<loc>https://anjiurine.top/tags/Hexo/</loc>
|
198
|
-
<lastmod>2024-07-
|
198
|
+
<lastmod>2024-07-13</lastmod>
|
199
199
|
<changefreq>weekly</changefreq>
|
200
200
|
<priority>0.2</priority>
|
201
201
|
</url>
|
202
202
|
|
203
203
|
<url>
|
204
204
|
<loc>https://anjiurine.top/tags/%E4%B8%BB%E9%A2%98/</loc>
|
205
|
-
<lastmod>2024-07-
|
205
|
+
<lastmod>2024-07-13</lastmod>
|
206
206
|
<changefreq>weekly</changefreq>
|
207
207
|
<priority>0.2</priority>
|
208
208
|
</url>
|
209
209
|
|
210
210
|
<url>
|
211
211
|
<loc>https://anjiurine.top/tags/Next/</loc>
|
212
|
-
<lastmod>2024-07-
|
212
|
+
<lastmod>2024-07-13</lastmod>
|
213
213
|
<changefreq>weekly</changefreq>
|
214
214
|
<priority>0.2</priority>
|
215
215
|
</url>
|
216
216
|
|
217
217
|
<url>
|
218
218
|
<loc>https://anjiurine.top/tags/Butterfly/</loc>
|
219
|
-
<lastmod>2024-07-
|
219
|
+
<lastmod>2024-07-13</lastmod>
|
220
220
|
<changefreq>weekly</changefreq>
|
221
221
|
<priority>0.2</priority>
|
222
222
|
</url>
|
223
223
|
|
224
224
|
<url>
|
225
225
|
<loc>https://anjiurine.top/tags/%E6%B5%AA%E6%BD%AE/</loc>
|
226
|
-
<lastmod>2024-07-
|
226
|
+
<lastmod>2024-07-13</lastmod>
|
227
227
|
<changefreq>weekly</changefreq>
|
228
228
|
<priority>0.2</priority>
|
229
229
|
</url>
|
230
230
|
|
231
231
|
<url>
|
232
232
|
<loc>https://anjiurine.top/tags/%E6%9C%8D%E5%8A%A1%E5%99%A8/</loc>
|
233
|
-
<lastmod>2024-07-
|
233
|
+
<lastmod>2024-07-13</lastmod>
|
234
234
|
<changefreq>weekly</changefreq>
|
235
235
|
<priority>0.2</priority>
|
236
236
|
</url>
|
237
237
|
|
238
238
|
<url>
|
239
239
|
<loc>https://anjiurine.top/tags/%E6%8A%98%E8%85%BE/</loc>
|
240
|
-
<lastmod>2024-07-
|
240
|
+
<lastmod>2024-07-13</lastmod>
|
241
241
|
<changefreq>weekly</changefreq>
|
242
242
|
<priority>0.2</priority>
|
243
243
|
</url>
|
244
244
|
|
245
245
|
<url>
|
246
246
|
<loc>https://anjiurine.top/tags/%E5%AE%B6%E9%87%8C%E4%BA%91/</loc>
|
247
|
-
<lastmod>2024-07-
|
247
|
+
<lastmod>2024-07-13</lastmod>
|
248
248
|
<changefreq>weekly</changefreq>
|
249
249
|
<priority>0.2</priority>
|
250
250
|
</url>
|
251
251
|
|
252
252
|
<url>
|
253
253
|
<loc>https://anjiurine.top/tags/RAID/</loc>
|
254
|
-
<lastmod>2024-07-
|
254
|
+
<lastmod>2024-07-13</lastmod>
|
255
255
|
<changefreq>weekly</changefreq>
|
256
256
|
<priority>0.2</priority>
|
257
257
|
</url>
|
258
258
|
|
259
259
|
<url>
|
260
260
|
<loc>https://anjiurine.top/tags/Cloudflare/</loc>
|
261
|
-
<lastmod>2024-07-
|
261
|
+
<lastmod>2024-07-13</lastmod>
|
262
262
|
<changefreq>weekly</changefreq>
|
263
263
|
<priority>0.2</priority>
|
264
264
|
</url>
|
265
265
|
|
266
266
|
<url>
|
267
267
|
<loc>https://anjiurine.top/tags/Vercel/</loc>
|
268
|
-
<lastmod>2024-07-
|
268
|
+
<lastmod>2024-07-13</lastmod>
|
269
269
|
<changefreq>weekly</changefreq>
|
270
270
|
<priority>0.2</priority>
|
271
271
|
</url>
|
272
272
|
|
273
273
|
<url>
|
274
274
|
<loc>https://anjiurine.top/tags/%E8%B4%9F%E8%BD%BD%E5%9D%87%E8%A1%A1/</loc>
|
275
|
-
<lastmod>2024-07-
|
275
|
+
<lastmod>2024-07-13</lastmod>
|
276
276
|
<changefreq>weekly</changefreq>
|
277
277
|
<priority>0.2</priority>
|
278
278
|
</url>
|
279
279
|
|
280
280
|
<url>
|
281
281
|
<loc>https://anjiurine.top/tags/%E8%B0%B7%E6%AD%8C%E7%BF%BB%E8%AF%91/</loc>
|
282
|
-
<lastmod>2024-07-
|
282
|
+
<lastmod>2024-07-13</lastmod>
|
283
283
|
<changefreq>weekly</changefreq>
|
284
284
|
<priority>0.2</priority>
|
285
285
|
</url>
|
286
286
|
|
287
287
|
<url>
|
288
288
|
<loc>https://anjiurine.top/tags/Workers/</loc>
|
289
|
-
<lastmod>2024-07-
|
289
|
+
<lastmod>2024-07-13</lastmod>
|
290
290
|
<changefreq>weekly</changefreq>
|
291
291
|
<priority>0.2</priority>
|
292
292
|
</url>
|
293
293
|
|
294
294
|
<url>
|
295
295
|
<loc>https://anjiurine.top/tags/%E7%AE%80%E7%88%B1/</loc>
|
296
|
-
<lastmod>2024-07-
|
296
|
+
<lastmod>2024-07-13</lastmod>
|
297
297
|
<changefreq>weekly</changefreq>
|
298
298
|
<priority>0.2</priority>
|
299
299
|
</url>
|
300
300
|
|
301
301
|
<url>
|
302
302
|
<loc>https://anjiurine.top/tags/%E5%A5%B3%E6%80%A7%E6%84%8F%E8%AF%86/</loc>
|
303
|
-
<lastmod>2024-07-
|
303
|
+
<lastmod>2024-07-13</lastmod>
|
304
304
|
<changefreq>weekly</changefreq>
|
305
305
|
<priority>0.2</priority>
|
306
306
|
</url>
|
307
307
|
|
308
308
|
<url>
|
309
309
|
<loc>https://anjiurine.top/tags/%E8%AE%BA%E6%96%87/</loc>
|
310
|
-
<lastmod>2024-07-
|
310
|
+
<lastmod>2024-07-13</lastmod>
|
311
311
|
<changefreq>weekly</changefreq>
|
312
312
|
<priority>0.2</priority>
|
313
313
|
</url>
|
314
314
|
|
315
315
|
<url>
|
316
316
|
<loc>https://anjiurine.top/tags/%E9%87%91%E5%8F%A5/</loc>
|
317
|
-
<lastmod>2024-07-
|
317
|
+
<lastmod>2024-07-13</lastmod>
|
318
318
|
<changefreq>weekly</changefreq>
|
319
319
|
<priority>0.2</priority>
|
320
320
|
</url>
|
321
321
|
|
322
322
|
<url>
|
323
323
|
<loc>https://anjiurine.top/tags/%E5%86%99%E4%BD%9C/</loc>
|
324
|
-
<lastmod>2024-07-
|
324
|
+
<lastmod>2024-07-13</lastmod>
|
325
325
|
<changefreq>weekly</changefreq>
|
326
326
|
<priority>0.2</priority>
|
327
327
|
</url>
|
328
328
|
|
329
329
|
<url>
|
330
330
|
<loc>https://anjiurine.top/tags/%E5%AD%A6%E4%B9%A0/</loc>
|
331
|
-
<lastmod>2024-07-
|
331
|
+
<lastmod>2024-07-13</lastmod>
|
332
332
|
<changefreq>weekly</changefreq>
|
333
333
|
<priority>0.2</priority>
|
334
334
|
</url>
|
335
335
|
|
336
336
|
<url>
|
337
337
|
<loc>https://anjiurine.top/tags/DiffSinger/</loc>
|
338
|
-
<lastmod>2024-07-
|
338
|
+
<lastmod>2024-07-13</lastmod>
|
339
339
|
<changefreq>weekly</changefreq>
|
340
340
|
<priority>0.2</priority>
|
341
341
|
</url>
|
342
342
|
|
343
343
|
<url>
|
344
344
|
<loc>https://anjiurine.top/tags/%E8%87%AA%E5%8A%A8%E6%A0%87%E6%B3%A8/</loc>
|
345
|
-
<lastmod>2024-07-
|
345
|
+
<lastmod>2024-07-13</lastmod>
|
346
346
|
<changefreq>weekly</changefreq>
|
347
347
|
<priority>0.2</priority>
|
348
348
|
</url>
|
349
349
|
|
350
350
|
<url>
|
351
351
|
<loc>https://anjiurine.top/tags/AI/</loc>
|
352
|
-
<lastmod>2024-07-
|
352
|
+
<lastmod>2024-07-13</lastmod>
|
353
353
|
<changefreq>weekly</changefreq>
|
354
354
|
<priority>0.2</priority>
|
355
355
|
</url>
|
@@ -358,28 +358,28 @@
|
|
358
358
|
|
359
359
|
<url>
|
360
360
|
<loc>https://anjiurine.top/categories/%E5%B9%B4%E7%BB%88%E6%80%BB%E7%BB%93/</loc>
|
361
|
-
<lastmod>2024-07-
|
361
|
+
<lastmod>2024-07-13</lastmod>
|
362
362
|
<changefreq>weekly</changefreq>
|
363
363
|
<priority>0.2</priority>
|
364
364
|
</url>
|
365
365
|
|
366
366
|
<url>
|
367
367
|
<loc>https://anjiurine.top/categories/Hexo/</loc>
|
368
|
-
<lastmod>2024-07-
|
368
|
+
<lastmod>2024-07-13</lastmod>
|
369
369
|
<changefreq>weekly</changefreq>
|
370
370
|
<priority>0.2</priority>
|
371
371
|
</url>
|
372
372
|
|
373
373
|
<url>
|
374
374
|
<loc>https://anjiurine.top/categories/%E9%97%B2%E8%81%8A%E6%9D%82%E8%B0%88/</loc>
|
375
|
-
<lastmod>2024-07-
|
375
|
+
<lastmod>2024-07-13</lastmod>
|
376
376
|
<changefreq>weekly</changefreq>
|
377
377
|
<priority>0.2</priority>
|
378
378
|
</url>
|
379
379
|
|
380
380
|
<url>
|
381
381
|
<loc>https://anjiurine.top/categories/%E7%B4%A0%E6%9D%90/</loc>
|
382
|
-
<lastmod>2024-07-
|
382
|
+
<lastmod>2024-07-13</lastmod>
|
383
383
|
<changefreq>weekly</changefreq>
|
384
384
|
<priority>0.2</priority>
|
385
385
|
</url>
|
package/sw.js
CHANGED
@@ -1,193 +1,2 @@
|
|
1
|
-
const CACHE_NAME =
|
2
|
-
let
|
3
|
-
self.addEventListener('install', async function (installEvent) {
|
4
|
-
self.skipWaiting();
|
5
|
-
installEvent.waitUntil(
|
6
|
-
caches.open(CACHE_NAME)
|
7
|
-
.then(function (cache) {
|
8
|
-
console.log('Opened cache');
|
9
|
-
return cache.addAll(cachelist);
|
10
|
-
})
|
11
|
-
);
|
12
|
-
});
|
13
|
-
self.addEventListener('fetch', async event => {
|
14
|
-
try {
|
15
|
-
event.respondWith(handle(event.request))
|
16
|
-
} catch (msg) {
|
17
|
-
event.respondWith(handleerr(event.request, msg))
|
18
|
-
}
|
19
|
-
});
|
20
|
-
const handleerr = async (req, msg) => {
|
21
|
-
return new Response(`<h1>CDN分流器遇到了致命错误</h1>
|
22
|
-
<b>${msg}</b>`, { headers: { "content-type": "text/html; charset=utf-8" } })
|
23
|
-
}
|
24
|
-
const lfetch = async (urls, url) => {
|
25
|
-
let controller = new AbortController();
|
26
|
-
const PauseProgress = async (res) => {
|
27
|
-
return new Response(await (res).arrayBuffer(), { status: res.status, headers: res.headers });
|
28
|
-
};
|
29
|
-
if (!Promise.any) {
|
30
|
-
Promise.any = function (promises) {
|
31
|
-
return new Promise((resolve, reject) => {
|
32
|
-
promises = Array.isArray(promises) ? promises : []
|
33
|
-
let len = promises.length
|
34
|
-
let errs = []
|
35
|
-
if (len === 0) return reject(new AggregateError('All promises were rejected'))
|
36
|
-
promises.forEach((promise) => {
|
37
|
-
promise.then(value => {
|
38
|
-
resolve(value)
|
39
|
-
}, err => {
|
40
|
-
len--
|
41
|
-
errs.push(err)
|
42
|
-
if (len === 0) {
|
43
|
-
reject(new AggregateError(errs))
|
44
|
-
}
|
45
|
-
})
|
46
|
-
})
|
47
|
-
})
|
48
|
-
}
|
49
|
-
}
|
50
|
-
return Promise.any(urls.map(urls => {
|
51
|
-
return new Promise((resolve, reject) => {
|
52
|
-
fetch(urls, {
|
53
|
-
signal: controller.signal
|
54
|
-
})
|
55
|
-
.then(PauseProgress)
|
56
|
-
.then(res => {
|
57
|
-
if (res.status == 200) {
|
58
|
-
controller.abort();
|
59
|
-
resolve(res)
|
60
|
-
} else {
|
61
|
-
reject(res)
|
62
|
-
}
|
63
|
-
})
|
64
|
-
})
|
65
|
-
}))
|
66
|
-
}
|
67
|
-
self.addEventListener('fetch', async event => {
|
68
|
-
try {
|
69
|
-
event.respondWith(handle(event.request))
|
70
|
-
} catch (err) {
|
71
|
-
if (fullpath(urlPath).indexOf(".html") != -1) {
|
72
|
-
event.respondWith(fetch("/404.html"))
|
73
|
-
}
|
74
|
-
}
|
75
|
-
});
|
76
|
-
const fullpath = (path) => {
|
77
|
-
path = path.split('?')[0].split('#')[0]
|
78
|
-
if (path.match(/\/$/)) {
|
79
|
-
path += 'index'
|
80
|
-
}
|
81
|
-
if (!path.match(/\.[a-zA-Z]+$/)) {
|
82
|
-
path += '.html'
|
83
|
-
}
|
84
|
-
return path
|
85
|
-
}
|
86
|
-
const generate_blog_urls = (packagename, blogversion, path) => {
|
87
|
-
const npmmirror = [
|
88
|
-
// `https://unpkg.zhimg.com/${packagename}@${blogversion}`,
|
89
|
-
// `https://npm.elemecdn.com/${packagename}@${blogversion}`,
|
90
|
-
// `https://cdn1.tianli0.top/npm/${packagename}@${blogversion}`,
|
91
|
-
// `https://cdn.afdelivr.top/npm/${packagename}@${blogversion}`,
|
92
|
-
// `https://ariasakablog.s3.ladydaily.com`,
|
93
|
-
// `https://registry.npmmirror.com/${packagename}/${blogversion}/files`,
|
94
|
-
`https://cdn.cbd.int/${packagename}@${blogversion}`
|
95
|
-
]
|
96
|
-
for (var i in npmmirror) {
|
97
|
-
npmmirror[i] += path
|
98
|
-
}
|
99
|
-
return npmmirror
|
100
|
-
}
|
101
|
-
const mirror = [
|
102
|
-
// `https://registry.npmmirror.com/ariasakablog/latest`,
|
103
|
-
// `https://registry.npmjs.org/ariasakablog/latest`,
|
104
|
-
// `https://registry.npmmirror.com/q78kgblog/latest`,
|
105
|
-
// `https://cdn.cbd.int/q78kgblog`,
|
106
|
-
`https://mirrors.cloud.tencent.com/npm/q78kgblog/latest`
|
107
|
-
]
|
108
|
-
const get_newest_version = async (mirror) => {
|
109
|
-
return lfetch(mirror, mirror[0])
|
110
|
-
.then(res => res.json())
|
111
|
-
.then(res.version)
|
112
|
-
}
|
113
|
-
self.db = { //全局定义db,只要read和write,看不懂可以略过
|
114
|
-
read: (key, config) => {
|
115
|
-
if (!config) { config = { type: "text" } }
|
116
|
-
return new Promise((resolve, reject) => {
|
117
|
-
caches.open(CACHE_NAME).then(cache => {
|
118
|
-
cache.match(new Request(`https://LOCALCACHE/${encodeURIComponent(key)}`)).then(function (res) {
|
119
|
-
if (!res) resolve(null)
|
120
|
-
res.text().then(text => resolve(text))
|
121
|
-
}).catch(() => {
|
122
|
-
resolve(null)
|
123
|
-
})
|
124
|
-
})
|
125
|
-
})
|
126
|
-
},
|
127
|
-
write: (key, value) => {
|
128
|
-
return new Promise((resolve, reject) => {
|
129
|
-
caches.open(CACHE_NAME).then(function (cache) {
|
130
|
-
cache.put(new Request(`https://LOCALCACHE/${encodeURIComponent(key)}`), new Response(value));
|
131
|
-
resolve()
|
132
|
-
}).catch(() => {
|
133
|
-
reject()
|
134
|
-
})
|
135
|
-
})
|
136
|
-
}
|
137
|
-
}
|
138
|
-
|
139
|
-
const set_newest_version = async (mirror) => { //改为最新版本写入数据库
|
140
|
-
return lfetch(mirror, mirror[0])
|
141
|
-
.then(res => res.json()) //JSON Parse
|
142
|
-
.then(async res => {
|
143
|
-
await db.write('blog_version', res.version) //写入
|
144
|
-
return;
|
145
|
-
})
|
146
|
-
}
|
147
|
-
|
148
|
-
setInterval(async () => {
|
149
|
-
await set_newest_version(mirror) //定时更新,一分钟一次
|
150
|
-
}, 60 * 1000);
|
151
|
-
|
152
|
-
setTimeout(async () => {
|
153
|
-
await set_newest_version(mirror)//打开五秒后更新,避免堵塞
|
154
|
-
}, 5000)
|
155
|
-
function getFileType(fileName) {
|
156
|
-
suffix = fileName.split('.')[fileName.split('.').length - 1]
|
157
|
-
if (suffix == "html" || suffix == "htm") {
|
158
|
-
return 'text/html';
|
159
|
-
}
|
160
|
-
if (suffix == "js") {
|
161
|
-
return 'text/javascript';
|
162
|
-
}
|
163
|
-
if (suffix == "css") {
|
164
|
-
return 'text/css';
|
165
|
-
}
|
166
|
-
if (suffix == "jpg" || suffix == "jpeg") {
|
167
|
-
return 'image/jpeg';
|
168
|
-
}
|
169
|
-
if (suffix == "ico") {
|
170
|
-
return 'image/x-icon';
|
171
|
-
}
|
172
|
-
if (suffix == "png") {
|
173
|
-
return 'image/png';
|
174
|
-
}
|
175
|
-
return 'text/plain';
|
176
|
-
}
|
177
|
-
const handle = async (req) => {
|
178
|
-
const urlStr = req.url
|
179
|
-
const urlObj = new URL(urlStr);
|
180
|
-
const urlPath = urlObj.pathname;
|
181
|
-
const domain = urlObj.hostname;
|
182
|
-
//从这里开始
|
183
|
-
lxs = []
|
184
|
-
if (domain === "anjiurine.top") {//这里写你需要拦截的域名
|
185
|
-
var l = lfetch(generate_blog_urls('q78kgblog', await db.read('blog_version') || 'latest', fullpath(urlPath)))
|
186
|
-
return l
|
187
|
-
.then(res => res.arrayBuffer())
|
188
|
-
.then(buffer => new Response(buffer, { headers: { "Content-Type": `${getFileType(fullpath(urlPath).split("/")[fullpath(urlPath).split("/").length - 1].split("\\")[fullpath(urlPath).split("/")[fullpath(urlPath).split("/").length - 1].split("\\").length - 1])};charset=utf-8` } }));//重新定义header
|
189
|
-
}
|
190
|
-
else {
|
191
|
-
return fetch(req);
|
192
|
-
}
|
193
|
-
}
|
1
|
+
const CACHE_NAME="ICDNCache";let cachelist=[];self.addEventListener("install",async function(e){self.skipWaiting(),e.waitUntil(caches.open(CACHE_NAME).then(function(t){return console.log("Opened cache"),t.addAll(cachelist)}))}),self.addEventListener("fetch",async e=>{try{e.respondWith(handle(e.request))}catch(t){e.respondWith(handleerr(e.request,t))}});const handleerr=async(e,t)=>new Response(`<h1>CDN\u5206\u6D41\u5668\u9047\u5230\u4E86\u81F4\u547D\u9519\u8BEF</h1>
|
2
|
+
<b>${t}</b>`,{headers:{"content-type":"text/html; charset=utf-8"}}),lfetch=async(e,t)=>{let s=new AbortController;const r=async n=>new Response(await n.arrayBuffer(),{status:n.status,headers:n.headers});return Promise.any||(Promise.any=function(n){return new Promise((a,i)=>{n=Array.isArray(n)?n:[];let c=n.length,l=[];if(c===0)return i(new AggregateError("All promises were rejected"));n.forEach(u=>{u.then(o=>{a(o)},o=>{c--,l.push(o),c===0&&i(new AggregateError(l))})})})}),Promise.any(e.map(n=>new Promise((a,i)=>{fetch(n,{signal:s.signal}).then(r).then(c=>{c.status==200?(s.abort(),a(c)):i(c)})})))};self.addEventListener("fetch",async e=>{try{e.respondWith(handle(e.request))}catch{fullpath(urlPath).indexOf(".html")!=-1&&e.respondWith(fetch("/404.html"))}});const fullpath=e=>(e=e.split("?")[0].split("#")[0],e.match(/\/$/)&&(e+="index"),e.match(/\.[a-zA-Z]+$/)||(e+=".html"),e),generate_blog_urls=(e,t,s)=>{const r=[`https://cdn.cbd.int/${e}@${t}`];for(var n in r)r[n]+=s;return r},mirror=["https://mirrors.cloud.tencent.com/npm/q78kgblog/latest"],get_newest_version=async e=>lfetch(e,e[0]).then(t=>t.json()).then(res.version);self.db={read:(e,t)=>(t||(t={type:"text"}),new Promise((s,r)=>{caches.open(CACHE_NAME).then(n=>{n.match(new Request(`https://LOCALCACHE/${encodeURIComponent(e)}`)).then(function(a){a||s(null),a.text().then(i=>s(i))}).catch(()=>{s(null)})})})),write:(e,t)=>new Promise((s,r)=>{caches.open(CACHE_NAME).then(function(n){n.put(new Request(`https://LOCALCACHE/${encodeURIComponent(e)}`),new Response(t)),s()}).catch(()=>{r()})})};const set_newest_version=async e=>lfetch(e,e[0]).then(t=>t.json()).then(async t=>{await db.write("blog_version",t.version)});setInterval(async()=>{await set_newest_version(mirror)},60*1e3),setTimeout(async()=>{await set_newest_version(mirror)},5e3);function getFileType(e){return suffix=e.split(".")[e.split(".").length-1],suffix=="html"||suffix=="htm"?"text/html":suffix=="js"?"text/javascript":suffix=="css"?"text/css":suffix=="jpg"||suffix=="jpeg"?"image/jpeg":suffix=="ico"?"image/x-icon":suffix=="png"?"image/png":"text/plain"}const handle=async e=>{const t=e.url,s=new URL(t),r=s.pathname,n=s.hostname;if(lxs=[],n==="anjiurine.top"){var a=lfetch(generate_blog_urls("q78kgblog",await db.read("blog_version")||"latest",fullpath(r)));return a.then(i=>i.arrayBuffer()).then(i=>new Response(i,{headers:{"Content-Type":`${getFileType(fullpath(r).split("/")[fullpath(r).split("/").length-1].split("\\")[fullpath(r).split("/")[fullpath(r).split("/").length-1].split("\\").length-1])};charset=utf-8`}}))}else return fetch(e)};
|
package/swReg.js
CHANGED
@@ -1,29 +1 @@
|
|
1
|
-
(async () =>
|
2
|
-
/*
|
3
|
-
ChenBlogHelper_Set 存储在LocalStorage中,用于指示sw安装状态
|
4
|
-
0 或不存在 未安装
|
5
|
-
1 已打断
|
6
|
-
2 已安装
|
7
|
-
3 已激活,并且已缓存必要的文件(此处未写出,无需理会)
|
8
|
-
*/
|
9
|
-
const $ = document.querySelector.bind(document);//语法糖
|
10
|
-
if ('serviceWorker' in navigator) { //如果支持sw
|
11
|
-
if (Number(window.localStorage.getItem('ChenBlogHelper_Set')) < 1) {
|
12
|
-
window.localStorage.setItem('ChenBlogHelper_Set', 1)
|
13
|
-
window.stop()
|
14
|
-
document.innerHTML=""
|
15
|
-
}
|
16
|
-
navigator.serviceWorker.register(`/sw.js?time=${Math.ceil(Math.random()*10000000000000000000)}`)//随机数,强制更新
|
17
|
-
.then(async () => {
|
18
|
-
if (Number(window.localStorage.getItem('ChenBlogHelper_Set')) < 2) {
|
19
|
-
setTimeout(() => {
|
20
|
-
window.localStorage.setItem('ChenBlogHelper_Set', 2)
|
21
|
-
//window.location.search = `?time=${ranN(1, 88888888888888888888)}` //已弃用,在等待500ms安装成功后直接刷新没有问题
|
22
|
-
window.location.reload()//刷新,以载入sw
|
23
|
-
}, 500)//安装后等待500ms使其激活
|
24
|
-
}
|
25
|
-
})
|
26
|
-
.catch(err => console.error(`ChenBlogHelperError:${err}`))
|
27
|
-
}
|
28
|
-
|
29
|
-
})()
|
1
|
+
(async()=>{const o=document.querySelector.bind(document);"serviceWorker"in navigator&&(Number(window.localStorage.getItem("ChenBlogHelper_Set"))<1&&(window.localStorage.setItem("ChenBlogHelper_Set",1),window.stop(),document.innerHTML=""),navigator.serviceWorker.register(`/sw.js?time=${Math.ceil(Math.random()*1e19)}`).then(async()=>{Number(window.localStorage.getItem("ChenBlogHelper_Set"))<2&&setTimeout(()=>{window.localStorage.setItem("ChenBlogHelper_Set",2),window.location.reload()},500)}).catch(e=>console.error(`ChenBlogHelperError:${e}`)))})();
|