sinzmise-cetastories 1.9.0-1727923018460 → 2.0.0-1728224519839

Sign up to get free protection for your applications and to get access to all the features.
Files changed (209) hide show
  1. package/404/index.html +1 -1
  2. package/about/index.html +1 -1
  3. package/album/index.html +1 -1
  4. package/archives/2021/12/index.html +1 -1
  5. package/archives/2021/index.html +1 -1
  6. package/archives/2022/12/index.html +1 -1
  7. package/archives/2022/index.html +1 -1
  8. package/archives/2023/01/index.html +1 -1
  9. package/archives/2023/02/index.html +1 -1
  10. package/archives/2023/03/index.html +1 -1
  11. package/archives/2023/04/index.html +1 -1
  12. package/archives/2023/07/index.html +1 -1
  13. package/archives/2023/08/index.html +1 -1
  14. package/archives/2023/09/index.html +1 -1
  15. package/archives/2023/10/index.html +1 -1
  16. package/archives/2023/11/index.html +1 -1
  17. package/archives/2023/12/index.html +1 -1
  18. package/archives/2023/index.html +1 -1
  19. package/archives/2023/page/2/index.html +1 -1
  20. package/archives/2023/page/3/index.html +1 -1
  21. package/archives/2024/01/index.html +1 -1
  22. package/archives/2024/02/index.html +1 -1
  23. package/archives/2024/03/index.html +1 -1
  24. package/archives/2024/04/index.html +1 -1
  25. package/archives/2024/05/index.html +1 -1
  26. package/archives/2024/06/index.html +1 -1
  27. package/archives/2024/07/index.html +1 -1
  28. package/archives/2024/08/index.html +1 -1
  29. package/archives/2024/09/index.html +1 -1
  30. package/archives/2024/10/index.html +1 -0
  31. package/archives/2024/index.html +1 -1
  32. package/archives/2024/page/2/index.html +1 -1
  33. package/archives/index.html +1 -1
  34. package/archives/page/2/index.html +1 -1
  35. package/archives/page/3/index.html +1 -1
  36. package/archives/page/4/index.html +1 -1
  37. package/bbs/bbs.html +1 -1
  38. package/bbs/bbs.js +1 -12
  39. package/bbs/index.html +1 -1
  40. package/categories/index.html +1 -1
  41. package/categories//344/270/252/344/272/272/345/260/217/350/256/260/index.html +1 -1
  42. package/categories//344/270/252/344/272/272/345/260/217/350/256/260/page/2/index.html +1 -1
  43. package/categories//346/255/214/346/233/262/346/224/266/351/233/206/index.html +1 -1
  44. package/categories//346/270/270/346/210/217/347/233/270/345/205/263/index.html +1 -1
  45. package/categories//347/253/231/347/202/271/346/212/230/350/205/276/index.html +1 -1
  46. package/categories//347/253/231/347/202/271/346/212/230/350/205/276/page/2/index.html +1 -1
  47. package/categories//351/241/271/347/233/256/346/212/230/350/205/276/index.html +1 -1
  48. package/charts/index.html +1 -1
  49. package/comments/index.html +1 -1
  50. package/css/custom2.css +1 -1
  51. package/css/index.css +1 -1
  52. package/css/plugins/bootstrap.min.css +6 -0
  53. package/css/plugins/bootstrap.row.css +1 -0
  54. package/css/plugins/font-awesome.min.css +1 -0
  55. package/css/tags.css +1 -0
  56. package/essay/index.html +1 -1
  57. package/failure.ico +0 -0
  58. package/fcircle/index.html +1 -1
  59. package/fonts/webfonts/fa-brands-400.woff2 +0 -0
  60. package/fonts/webfonts/fa-regular-400.woff2 +0 -0
  61. package/fonts/webfonts/fa-solid-900.woff2 +0 -0
  62. package/google8073542809160a67.html +1 -1
  63. package/images/siteicon/apple-touch-icon.png +0 -0
  64. package/images/siteicon/favicon-16x16.png +0 -0
  65. package/images/siteicon/favicon-32x32.png +0 -0
  66. package/images/siteicon/favicon-48x48.png +0 -0
  67. package/images/siteicon/favicon.ico +0 -0
  68. package/images/siteicon/favicon.svg +3 -0
  69. package/images/siteicon/web-app-manifest-192x192.png +0 -0
  70. package/images/siteicon/web-app-manifest-512x512.png +0 -0
  71. package/img/avatar.jpg +0 -0
  72. package/img/banner.png +0 -0
  73. package/img/block.jpg +0 -0
  74. package/img/favicon.svg +39 -0
  75. package/index.html +1 -1
  76. package/js/main.js +1 -1
  77. package/js/plugins/danmu.js +1 -0
  78. package/js/plugins/local_search.js +1 -0
  79. package/js/plugins/typing.js +1 -0
  80. package/link/index.html +1 -1
  81. package/manifest.json +1 -1
  82. package/music/index.html +1 -1
  83. package/package.json +1 -1
  84. package/page/2/index.html +1 -1
  85. package/page/3/index.html +1 -1
  86. package/page/4/index.html +1 -1
  87. package/posts/10021/index.html +1 -1
  88. package/posts/10045/index.html +1 -1
  89. package/posts/10733/index.html +1 -0
  90. package/posts/10996/index.html +1 -1
  91. package/posts/12779/index.html +1 -1
  92. package/posts/13624/index.html +1 -1
  93. package/posts/15688/index.html +1 -1
  94. package/posts/15748/index.html +1 -1
  95. package/posts/15799/index.html +1 -1
  96. package/posts/15842/index.html +1 -1
  97. package/posts/16107/index.html +1 -1
  98. package/posts/18063/index.html +1 -1
  99. package/posts/20412/index.html +1 -1
  100. package/posts/21375/index.html +1 -1
  101. package/posts/22945/index.html +1 -1
  102. package/posts/23021/index.html +1 -1
  103. package/posts/27531/index.html +1 -1
  104. package/posts/28536/index.html +1 -1
  105. package/posts/28733/index.html +1 -1
  106. package/posts/29196/index.html +1 -1
  107. package/posts/38917/index.html +1 -1
  108. package/posts/38964/index.html +1 -1
  109. package/posts/42487/index.html +1 -1
  110. package/posts/42580/index.html +1 -1
  111. package/posts/45875/index.html +1 -1
  112. package/posts/46640/index.html +1 -1
  113. package/posts/48762/index.html +1 -1
  114. package/posts/50710/index.html +1 -1
  115. package/posts/52677/index.html +1 -1
  116. package/posts/53662/index.html +1 -1
  117. package/posts/54386/index.html +1 -1
  118. package/posts/54481/index.html +1 -1
  119. package/posts/54787/index.html +1 -1
  120. package/posts/56467/index.html +1 -1
  121. package/posts/57692/index.html +1 -1
  122. package/posts/58203/index.html +1 -1
  123. package/posts/61417/index.html +1 -1
  124. package/posts/646/index.html +1 -1
  125. package/posts/64856/index.html +1 -1
  126. package/posts/64935/index.html +1 -1
  127. package/search.xml +1323 -0
  128. package/seas/index.html +1 -1
  129. package/serviceworker.js +1 -0
  130. package/sw.js +1 -1
  131. package/tags/Flash/347/233/270/345/205/263/index.html +1 -1
  132. package/tags/Steam/346/270/270/346/210/217/index.html +1 -1
  133. package/tags/Windows/350/275/257/344/273/266/index.html +1 -1
  134. package/tags/index.html +1 -1
  135. package/tags//344/270/252/344/272/272/345/260/217/350/256/260/index.html +1 -1
  136. package/tags//344/270/252/344/272/272/345/260/217/350/256/260/page/2/index.html +1 -1
  137. package/tags//345/205/266/345/256/203/346/270/270/346/210/217/index.html +1 -1
  138. package/tags//345/212/240/350/275/275/345/212/250/347/224/273/index.html +1 -1
  139. package/tags//346/202/254/346/265/256/345/256/240/347/211/251-/347/234/213/346/235/277/345/250/230/index.html +1 -1
  140. package/tags//346/255/214/346/233/262/346/224/266/351/233/206/index.html +1 -1
  141. package/tags//346/270/270/346/210/217/347/233/270/345/205/263/index.html +1 -1
  142. package/tags//347/253/231/347/202/271/345/272/225/351/203/250/351/255/224/346/224/271/index.html +1 -1
  143. package/tags//347/253/231/347/202/271/346/212/230/350/205/276/index.html +1 -1
  144. package/tags//347/253/231/347/202/271/346/212/230/350/205/276/page/2/index.html +1 -1
  145. package/tags//350/207/252/345/273/272/351/203/250/347/275/262/index.html +1 -1
  146. package/tags//351/241/265/351/235/242/351/255/224/346/224/271/index.html +1 -1
  147. package/tags//351/241/271/347/233/256/346/212/230/350/205/276/index.html +1 -1
  148. package/update/index.html +1 -1
  149. package/404.html +0 -1
  150. package/article.json +0 -1
  151. package/atom.xml +0 -526
  152. package/baidusitemap.xml +0 -163
  153. package/bangumis/index.html +0 -1
  154. package/cacheList.json +0 -1
  155. package/css/404.css +0 -1
  156. package/css/anzhiyu-var.css +0 -1
  157. package/css/bywind-var.css +0 -1
  158. package/css/categoryBar.css +0 -1
  159. package/css/console.css +0 -1
  160. package/css/custom.css +0 -1
  161. package/css/essay_page.css +0 -1
  162. package/css/footer.css +0 -1
  163. package/css/heo-var.css +0 -1
  164. package/css/icat-var.css +0 -1
  165. package/css/iconfont.css +0 -1
  166. package/css/iconfont.ttf +0 -0
  167. package/css/iconfont.woff +0 -0
  168. package/css/iconfont.woff2 +0 -0
  169. package/css/orlike.css +0 -1
  170. package/css/rightmenu.css +0 -1
  171. package/css/var.css +0 -0
  172. package/images/siteicon/16.png +0 -0
  173. package/images/siteicon/32.png +0 -0
  174. package/images/siteicon/apple-icon-180.png +0 -0
  175. package/images/siteicon/manifest-icon-192.maskable.png +0 -0
  176. package/images/siteicon/manifest-icon-512.maskable.png +0 -0
  177. package/img/favicon.png +0 -0
  178. package/img/footer-social-link.svg +0 -1
  179. package/js/about.js +0 -1
  180. package/js/categoryBar.js +0 -1
  181. package/js/comments.js +0 -1
  182. package/js/console.js +0 -1
  183. package/js/custom/fixed_card_widget.js +0 -1
  184. package/js/custom.js +0 -69
  185. package/js/day.js +0 -1
  186. package/js/fps.js +0 -1
  187. package/js/hometop.js +0 -1
  188. package/js/lunar.js +0 -1
  189. package/js/nav.js +0 -1
  190. package/js/nyan.js +0 -1
  191. package/js/orlike.js +0 -1
  192. package/js/owobig.js +0 -1
  193. package/js/random-friends-post.js +0 -1
  194. package/js/randompost.js +0 -1
  195. package/js/rightmenu.js +0 -1
  196. package/js/sakura.js +0 -1
  197. package/js/search/algolia.js +0 -1
  198. package/js/search/local-search.js +0 -1
  199. package/js/statistic.js +0 -1
  200. package/js/tw_cn.js +0 -1
  201. package/js/utils.js +0 -1
  202. package/js/waterfall/waterfall.js +0 -1
  203. package/js/welcome.js +0 -1
  204. package/lib/tag_plugins.css +0 -1
  205. package/posts/27762/index.html +0 -1
  206. package/robots.txt +0 -12
  207. package/sitemap.xml +0 -679
  208. package/sw-dom.js +0 -73
  209. package/update.json +0 -1
package/sw-dom.js DELETED
@@ -1,73 +0,0 @@
1
- document.addEventListener('DOMContentLoaded', () => {
2
- if (!navigator.serviceWorker?.controller) return
3
- /** 发送信息到 sw */
4
- const postMessage2SW = type => navigator.serviceWorker.controller.postMessage(type)
5
- const pjaxUpdate = url => {
6
- const type = url.endsWith('js') ? 'script' : 'link'
7
- const name = type === 'link' ? 'href' : 'src'
8
- for (let item of document.getElementsByTagName(type)) {
9
- const itUrl = item[name]
10
- if (url.length > itUrl ? url.endsWith(itUrl) : itUrl.endsWith(url)) {
11
- const newEle = document.createElement(type)
12
- const content = item.text || item.textContent || item.innerHTML || ''
13
- // noinspection JSUnresolvedReference
14
- Array.from(item.attributes).forEach(attr => newEle.setAttribute(attr.name, attr.value))
15
- newEle.appendChild(document.createTextNode(content))
16
- item.parentNode.replaceChildren(newEle, item)
17
- return true
18
- }
19
- }
20
- }
21
- const SESSION_KEY = 'updated'
22
- // noinspection JSFileReferences
23
- const onSuccess = () => {
24
- caches.match('https://id.v3/').then(function(response) {
25
- if (response) {
26
- // 如果找到了匹配的缓存响应
27
- response.json().then(function(data) {
28
- var snackbarBg =
29
- document.documentElement.getAttribute('data-theme') === 'light' ?
30
- GLOBAL_CONFIG.Snackbar.bgLight :
31
- GLOBAL_CONFIG.Snackbar.bgDark
32
- var snackbarPos = GLOBAL_CONFIG.Snackbar.position
33
- Snackbar.show({
34
- text: `已刷新缓存,更新为${GLOBAL_CONFIG.uiversion}版本最新内容`,
35
- backgroundColor: snackbarBg,
36
- duration: 30000,
37
- pos: snackbarPos,
38
- actionText: '查看更新日志',
39
- actionTextColor: '#fff',
40
- onActionClick: function(e) {
41
- pjax.loadUrl("/update/");
42
- },
43
- })
44
- });
45
- } else {
46
- console.info('未找到匹配的缓存响应');
47
- }
48
- }).catch(function(error) {
49
- console.error('缓存匹配出错:', error);
50
- });
51
- };
52
- if (sessionStorage.getItem(SESSION_KEY)) {
53
- onSuccess()
54
- sessionStorage.removeItem(SESSION_KEY)
55
- } else postMessage2SW('update')
56
- navigator.serviceWorker.addEventListener('message', event => {
57
- const data = event.data
58
- sessionStorage.setItem(SESSION_KEY, data.type)
59
- const list = data.list?.filter(url => /\.(js|css)$/.test(url))
60
- if (list) {
61
- // noinspection JSUnresolvedReference
62
- if (window.Pjax?.isSupported?.())
63
- list.forEach(pjaxUpdate)
64
- location.reload()
65
- } else {
66
- const newVersion = data.new, oldVersion = data.old
67
- if (oldVersion && (newVersion.global !== oldVersion.global || newVersion.local !== oldVersion.local)) {
68
- onSuccess()
69
- }
70
- sessionStorage.removeItem(SESSION_KEY)
71
- }
72
- })
73
- })
package/update.json DELETED
@@ -1 +0,0 @@
1
- {"global":0,"info":[{"version":84,"change":[{"flag":"end","value":"/404.html"}]},{"version":83},{"version":82},{"version":81},{"version":80},{"version":79},{"version":78},{"version":77},{"version":76},{"version":75},{"version":74},{"version":73},{"version":72},{"version":71},{"version":70},{"version":69},{"version":68},{"version":67},{"version":66},{"version":65},{"version":64},{"version":63},{"version":62,"change":[{"flag":"end","value":"/index.css"}]},{"version":61},{"version":60},{"version":59},{"version":58},{"version":57},{"version":56},{"version":55},{"version":54},{"version":53},{"version":52},{"version":51},{"version":50},{"version":49},{"version":48},{"version":47},{"version":46},{"version":45},{"version":44},{"version":43},{"version":42},{"version":41},{"version":40},{"version":39},{"version":38},{"version":37},{"version":36},{"version":35},{"version":34},{"version":33},{"version":32},{"version":31},{"version":30},{"version":29},{"version":28},{"version":27},{"version":26},{"version":25}]}