sinzmise-cetastories 2.0.0-1737209403959 → 2.0.0-1737367111253
Sign up to get free protection for your applications and to get access to all the features.
- package/404/index.html +1 -1
- package/404.html +1 -1
- package/archives/2021/12/index.html +1 -1
- package/archives/2021/index.html +1 -1
- package/archives/2022/12/index.html +1 -1
- package/archives/2022/index.html +1 -1
- package/archives/2023/01/index.html +1 -1
- package/archives/2023/02/index.html +1 -1
- package/archives/2023/03/index.html +1 -1
- package/archives/2023/04/index.html +1 -1
- package/archives/2023/07/index.html +1 -1
- package/archives/2023/08/index.html +1 -1
- package/archives/2023/09/index.html +1 -1
- package/archives/2023/10/index.html +1 -1
- package/archives/2023/11/index.html +1 -1
- package/archives/2023/12/index.html +1 -1
- package/archives/2023/index.html +1 -1
- package/archives/2023/page/2/index.html +1 -1
- package/archives/2023/page/3/index.html +1 -1
- package/archives/2024/01/index.html +1 -1
- package/archives/2024/02/index.html +1 -1
- package/archives/2024/03/index.html +1 -1
- package/archives/2024/04/index.html +1 -1
- package/archives/2024/05/index.html +1 -1
- package/archives/2024/06/index.html +1 -1
- package/archives/2024/07/index.html +1 -1
- package/archives/2024/08/index.html +1 -1
- package/archives/2024/09/index.html +1 -1
- package/archives/2024/10/index.html +1 -1
- package/archives/2024/11/index.html +1 -1
- package/archives/2024/12/index.html +1 -1
- package/archives/2024/index.html +1 -1
- package/archives/2024/page/2/index.html +1 -1
- package/archives/2024/page/3/index.html +1 -1
- package/archives/2025/01/index.html +1 -0
- package/archives/2025/index.html +1 -0
- package/archives/index.html +1 -1
- package/archives/page/2/index.html +1 -1
- package/archives/page/3/index.html +1 -1
- package/archives/page/4/index.html +1 -1
- package/archives/page/5/index.html +1 -1
- package/atom.xml +177 -225
- package/baidu_verify_codeva-F0RjFTve6w.html +1 -1
- package/bbs/bbs.html +1 -1
- package/bbs/index.html +1 -1
- package/categories/index.html +1 -1
- package/categories//344/270/252/344/272/272/345/260/217/350/256/260/index.html +1 -1
- package/categories//344/270/252/344/272/272/345/260/217/350/256/260/page/2/index.html +1 -1
- package/categories//344/270/252/344/272/272/345/260/217/350/256/260/page/3/index.html +1 -1
- package/categories//346/255/214/346/233/262/346/224/266/351/233/206/index.html +1 -1
- package/categories//346/270/270/346/210/217/347/233/270/345/205/263/index.html +1 -1
- package/categories//347/253/231/347/202/271/346/212/230/350/205/276/index.html +1 -1
- package/categories//347/253/231/347/202/271/346/212/230/350/205/276/page/2/index.html +1 -1
- package/categories//351/241/271/347/233/256/346/212/230/350/205/276/index.html +1 -1
- package/charts/index.html +1 -1
- package/comments/index.html +1 -1
- package/config.json +1 -0
- package/css/index.css +1 -1
- package/css/third_party/snackbar.min.css +1 -0
- package/css/third_party/tianli_talk.css +102 -0
- package/fcircle/index.html +1 -1
- package/flink_count.json +1 -1
- package/friend.json +1 -1
- package/games/index.html +1 -1
- package/games/riddle/esc2-e.html +1 -1
- package/games/riddle/esc3-e.html +1 -1
- package/games/riddle/esc4-e.html +1 -1
- package/go.html +1 -0
- package/google8073542809160a67.html +1 -1
- package/img/404.avif +0 -0
- package/img/cover.gif +0 -0
- package/img/default.avif +0 -0
- package/img/default_avatar.avif +0 -0
- package/img/error_load.avif +0 -0
- package/img/flower.gif +0 -0
- package/img/image-error.png +0 -0
- package/img/logo.png +0 -0
- package/img/pwa/favicon.png +0 -0
- package/img/pwa/favicon_16.png +0 -0
- package/index.html +1 -1
- package/js/cenguigui.js +1 -0
- package/js/covercolor/api.js +1 -0
- package/js/covercolor/ave.js +1 -0
- package/js/covercolor/local.js +1 -0
- package/js/fomal.js +1 -1
- package/js/main.js +1 -1
- package/js/music.js +1 -0
- package/js/right_menu.js +1 -0
- package/js/search/algolia.js +1 -1
- package/js/search/local.js +1 -0
- package/js/third_party/barrage.min.js +98 -0
- package/js/third_party/envelope.min.js +5 -0
- package/js/third_party/post_ai.min.js +184 -0
- package/js/third_party/universe.min.js +5 -0
- package/js/third_party/waterfall.min.js +5 -0
- package/js/tw_cn.js +1 -1
- package/js/utils.js +1 -1
- package/js/webmention/webmention-timeline.js +1 -0
- package/js/webmention/webmention.js +1 -0
- package/link/index.html +1 -1
- package/load.html +1 -1
- package/music/index.html +1 -1
- package/package.json +1 -1
- package/page/2/index.html +1 -1
- package/page/3/index.html +1 -1
- package/page/4/index.html +1 -1
- package/page/5/index.html +1 -1
- package/posts/10021/index.html +1 -1
- package/posts/10045/index.html +1 -1
- package/posts/10733/index.html +1 -1
- package/posts/10996/index.html +1 -1
- package/posts/12779/index.html +1 -1
- package/posts/13624/index.html +1 -1
- package/posts/15688/index.html +1 -1
- package/posts/15748/index.html +1 -1
- package/posts/15799/index.html +1 -1
- package/posts/15842/index.html +1 -1
- package/posts/16107/index.html +1 -1
- package/posts/18063/index.html +1 -1
- package/posts/20412/index.html +1 -1
- package/posts/21375/index.html +1 -1
- package/posts/22945/index.html +1 -1
- package/posts/23021/index.html +1 -1
- package/posts/23226/index.html +1 -1
- package/posts/27531/index.html +1 -1
- package/posts/27762/index.html +1 -1
- package/posts/28536/index.html +1 -1
- package/posts/28733/index.html +1 -1
- package/posts/29196/index.html +1 -1
- package/posts/38917/index.html +1 -1
- package/posts/38964/index.html +1 -1
- package/posts/42487/index.html +1 -1
- package/posts/42580/index.html +1 -1
- package/posts/45875/index.html +1 -1
- package/posts/46640/index.html +1 -1
- package/posts/48762/index.html +1 -1
- package/posts/50710/index.html +1 -1
- package/posts/52677/index.html +1 -1
- package/posts/53662/index.html +1 -1
- package/posts/54386/index.html +1 -1
- package/posts/54481/index.html +1 -1
- package/posts/54787/index.html +1 -1
- package/posts/56467/index.html +1 -1
- package/posts/57692/index.html +1 -1
- package/posts/58203/index.html +1 -1
- package/posts/60486/index.html +1 -0
- package/posts/61417/index.html +1 -1
- package/posts/61712/index.html +1 -1
- package/posts/61713/index.html +1 -1
- package/posts/646/index.html +1 -1
- package/posts/64856/index.html +1 -1
- package/posts/64935/index.html +1 -1
- package/posts/65382/index.html +1 -1
- package/seas/index.html +1 -1
- package/sw.js +1 -1
- package/tags/Flash/347/233/270/345/205/263/index.html +1 -1
- package/tags/Steam/346/270/270/346/210/217/index.html +1 -1
- package/tags/Windows/350/275/257/344/273/266/index.html +1 -1
- package/tags/index.html +1 -1
- package/tags//344/270/252/344/272/272/345/260/217/350/256/260/index.html +1 -1
- package/tags//344/270/252/344/272/272/345/260/217/350/256/260/page/2/index.html +1 -1
- package/tags//344/270/252/344/272/272/345/260/217/350/256/260/page/3/index.html +1 -1
- package/tags//345/205/266/345/256/203/346/270/270/346/210/217/index.html +1 -1
- package/tags//345/212/240/350/275/275/345/212/250/347/224/273/index.html +1 -1
- 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
- package/tags//346/255/214/346/233/262/346/224/266/351/233/206/index.html +1 -1
- package/tags//346/270/270/346/210/217/347/233/270/345/205/263/index.html +1 -1
- package/tags//347/253/231/347/202/271/345/272/225/351/203/250/351/255/224/346/224/271/index.html +1 -1
- package/tags//347/253/231/347/202/271/346/212/230/350/205/276/index.html +1 -1
- package/tags//347/253/231/347/202/271/346/212/230/350/205/276/page/2/index.html +1 -1
- package/tags//350/207/252/345/273/272/351/203/250/347/275/262/index.html +1 -1
- package/tags//351/241/265/351/235/242/351/255/224/346/224/271/index.html +1 -1
- package/tags//351/241/271/347/233/256/346/212/230/350/205/276/index.html +1 -1
- package/update/index.html +1 -1
- package/about/index.html +0 -1
- package/album/index.html +0 -1
- package/assets/404_1.jpg +0 -0
- package/assets/QRCode.jpg +0 -0
- package/assets/c10.cur +0 -0
- package/assets/c11.cur +0 -0
- package/assets/c3.cur +0 -0
- package/assets/c4.cur +0 -0
- package/assets/c7.cur +0 -0
- package/assets/c8.cur +0 -0
- package/assets/c9.cur +0 -0
- package/assets/close.webp +0 -0
- package/assets/coffee.png +0 -0
- package/assets/gulp/404.jpg +0 -0
- package/assets/gulp/comment_bg.png +0 -0
- package/assets/gulp/friend_404.gif +0 -0
- package/assets/gulp/loading.gif +0 -0
- package/assets/loading2.gif +0 -0
- package/assets/loading3.gif +0 -0
- package/assets/open.webp +0 -0
- package/assets/pusheencode.webp +0 -0
- package/assets/r1.jpg +0 -0
- package/assets/r2.jpg +0 -0
- package/baidusitemap.xml +0 -183
- package/config.yaml +0 -26
- package/content.json +0 -1
- package/css/hbe.style.css +0 -1
- package/custom2.css +0 -15
- package/essay/index.html +0 -1
- package/essay/memos.js +0 -1
- package/img/404.jpg +0 -0
- package/img/512.png +0 -0
- package/img/icon-dark.png +0 -0
- package/img/icon-light.png +0 -0
- package/img/icons/api.svg +0 -1
- package/img/icons/diary.svg +0 -1
- package/img/icons/homepage.svg +0 -1
- package/img/icons/navi.svg +0 -1
- package/img/icons/pan.svg +0 -1
- package/img/icons/rtalk.svg +0 -1
- package/img/load-dark.png +0 -0
- package/img/load-light.png +0 -0
- package/img/siteicon/android-chrome-144x144.png +0 -0
- package/img/siteicon/android-chrome-192x192.png +0 -0
- package/img/siteicon/android-chrome-256x256.png +0 -0
- package/img/siteicon/android-chrome-36x36.png +0 -0
- package/img/siteicon/android-chrome-384x384.png +0 -0
- package/img/siteicon/android-chrome-48x48.png +0 -0
- package/img/siteicon/android-chrome-512x512.png +0 -0
- package/img/siteicon/android-chrome-72x72.png +0 -0
- package/img/siteicon/android-chrome-96x96.png +0 -0
- package/img/siteicon/apple-splash-1125-2436.jpg +0 -0
- package/img/siteicon/apple-splash-1136-640.jpg +0 -0
- package/img/siteicon/apple-splash-1170-2532.jpg +0 -0
- package/img/siteicon/apple-splash-1179-2556.jpg +0 -0
- package/img/siteicon/apple-splash-1242-2208.jpg +0 -0
- package/img/siteicon/apple-splash-1242-2688.jpg +0 -0
- package/img/siteicon/apple-splash-1284-2778.jpg +0 -0
- package/img/siteicon/apple-splash-1290-2796.jpg +0 -0
- package/img/siteicon/apple-splash-1334-750.jpg +0 -0
- package/img/siteicon/apple-splash-1536-2048.jpg +0 -0
- package/img/siteicon/apple-splash-1620-2160.jpg +0 -0
- package/img/siteicon/apple-splash-1668-2224.jpg +0 -0
- package/img/siteicon/apple-splash-1668-2388.jpg +0 -0
- package/img/siteicon/apple-splash-1792-828.jpg +0 -0
- package/img/siteicon/apple-splash-2048-1536.jpg +0 -0
- package/img/siteicon/apple-splash-2048-2732.jpg +0 -0
- package/img/siteicon/apple-splash-2160-1620.jpg +0 -0
- package/img/siteicon/apple-splash-2208-1242.jpg +0 -0
- package/img/siteicon/apple-splash-2224-1668.jpg +0 -0
- package/img/siteicon/apple-splash-2388-1668.jpg +0 -0
- package/img/siteicon/apple-splash-2436-1125.jpg +0 -0
- package/img/siteicon/apple-splash-2532-1170.jpg +0 -0
- package/img/siteicon/apple-splash-2556-1179.jpg +0 -0
- package/img/siteicon/apple-splash-2688-1242.jpg +0 -0
- package/img/siteicon/apple-splash-2732-2048.jpg +0 -0
- package/img/siteicon/apple-splash-2778-1284.jpg +0 -0
- package/img/siteicon/apple-splash-2796-1290.jpg +0 -0
- package/img/siteicon/apple-splash-640-1136.jpg +0 -0
- package/img/siteicon/apple-splash-750-1334.jpg +0 -0
- package/img/siteicon/apple-splash-828-1792.jpg +0 -0
- package/img/siteicon/apple-touch-icon.png +0 -0
- package/img/siteicon/favicon-16x16.png +0 -0
- package/img/siteicon/favicon-32x32.png +0 -0
- package/img/siteicon/favicon.ico +0 -0
- package/img/siteicon/mstile-150x150.png +0 -0
- package/img/siteicon/safari-pinned-tab.svg +0 -247
- package/js/categorybar.js +0 -1
- package/js/ceta/random.js +0 -1
- package/js/search/local-search.js +0 -1
- package/js/webmention.js +0 -3
- package/lib/hbe.js +0 -1
- package/search.xml +0 -1168
- package/sitemap.xml +0 -769
- package/sw-dom.js +0 -54
- package/swpp/tracker.json +0 -1
- package/swpp/update.json +0 -1
- package/swpp.js +0 -1
- /package/img/{favicon.png → pwa/favicon_32.png} +0 -0
package/sw-dom.js
DELETED
@@ -1,54 +0,0 @@
|
|
1
|
-
|
2
|
-
document.addEventListener('DOMContentLoaded', () => {
|
3
|
-
|
4
|
-
const controller = navigator.serviceWorker?.controller
|
5
|
-
if (!controller) return
|
6
|
-
const postMessage2Sw = (type) => navigator.serviceWorker.controller.postMessage(type);
|
7
|
-
const pjaxUpdate = (url) => {
|
8
|
-
const type = url.endsWith('js') ? 'script' : 'link';
|
9
|
-
const name = type === 'link' ? 'href' : 'src';
|
10
|
-
for (let item of document.getElementsByTagName(type)) {
|
11
|
-
// @ts-ignore
|
12
|
-
const itUrl = item[name];
|
13
|
-
if (url.length > itUrl ? url.endsWith(itUrl) : itUrl.endsWith(url)) {
|
14
|
-
const newEle = document.createElement(type);
|
15
|
-
const content = item.textContent || item.innerHTML || '';
|
16
|
-
Array.from(item.attributes).forEach(attr => newEle.setAttribute(attr.name, attr.value));
|
17
|
-
newEle.appendChild(document.createTextNode(content));
|
18
|
-
item.parentNode.replaceChildren(newEle, item);
|
19
|
-
return;
|
20
|
-
}
|
21
|
-
}
|
22
|
-
};
|
23
|
-
const SESSION_KEY = 'updated';
|
24
|
-
const onSuccess = () => console.log('版本更新成功');
|
25
|
-
const _inlineA = () => {
|
26
|
-
if (sessionStorage.getItem(SESSION_KEY)) {
|
27
|
-
onSuccess();
|
28
|
-
sessionStorage.removeItem(SESSION_KEY);
|
29
|
-
}
|
30
|
-
else
|
31
|
-
postMessage2Sw('update');
|
32
|
-
};
|
33
|
-
const messageEvent = (event) => {
|
34
|
-
const data = event.data;
|
35
|
-
sessionStorage.setItem(SESSION_KEY, data.type);
|
36
|
-
const list = data.data?.filter((url) => /\.(js|css)$/.test(url));
|
37
|
-
if (list?.length) {
|
38
|
-
// @ts-ignore
|
39
|
-
if (window.Pjax?.isSupported?.())
|
40
|
-
list.forEach(pjaxUpdate);
|
41
|
-
location.reload();
|
42
|
-
}
|
43
|
-
else {
|
44
|
-
onSuccess();
|
45
|
-
sessionStorage.removeItem(SESSION_KEY);
|
46
|
-
}
|
47
|
-
};
|
48
|
-
_inlineA()
|
49
|
-
navigator.serviceWorker.addEventListener('message', event => {
|
50
|
-
messageEvent()
|
51
|
-
})
|
52
|
-
|
53
|
-
})
|
54
|
-
|
package/swpp/tracker.json
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":4,"tracker":{}}
|
package/swpp/update.json
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"global":0,"info":[{"version":163,"change":[{"flag":"suf"}]},{"version":162,"change":[{"flag":"suf"}]},{"version":161,"change":[{"flag":"suf"}]},{"version":160,"change":[{"flag":"suf"}]},{"version":159,"change":[{"flag":"suf"}]},{"version":158,"change":[{"flag":"suf"}]},{"version":157,"change":[{"flag":"suf"}]},{"version":156,"change":[{"flag":"suf"}]},{"version":155,"change":[{"flag":"suf"}]},{"version":154,"change":[{"flag":"suf"}]},{"version":153,"change":[{"flag":"suf"}]},{"version":152,"change":[{"flag":"suf"}]},{"version":151,"change":[{"flag":"suf"}]},{"version":150,"change":[{"flag":"suf"}]},{"version":149,"change":[{"flag":"suf"}]},{"version":148,"change":[{"flag":"suf"}]},{"version":147,"change":[{"flag":"suf"}]},{"version":146,"change":[{"flag":"suf"}]},{"version":145,"change":[{"flag":"suf"}]},{"version":144,"change":[{"flag":"suf"}]},{"version":143,"change":[{"flag":"suf"}]},{"version":142,"change":[{"flag":"suf"}]},{"version":141,"change":[{"flag":"suf"}]},{"version":140,"change":[{"flag":"suf"}]}]}
|
package/swpp.js
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
(()=>{const e="CetaHouseCache",t="https://id.v3/",s="X-Swpp-Invalid",n="X-Swpp-Time",a=e=>{const t=t=>{const s=e.value;if(Array.isArray(s)){for(let e of s)if(t(e))return!0;return!1}return t(s)};switch(e.flag){case"html":return e=>/\/$|\.html$/.test(e);case"suf":return e=>t((t=>e.endsWith(t)));case"pre":return e=>t((t=>e.startsWith(t)));case"str":return e=>t((t=>e.includes(t)));case"reg":return e=>t((t=>new RegExp(t,"i").test(e)));default:throw e}},r=t=>caches.match(t,{cacheName:e}),i=async(t,s,a)=>{if(a){const e=new Headers(s.headers);e.set(n,(new Date).toISOString()),s=new Response(s.body,{status:s.status,headers:e})}const r=await caches.open(e);await r.put(t,s)},l=e=>r(e).then((t=>{if(!t)return;const n=new Headers(t.headers);return n.set(s,"1"),i(e,new Response(t.body,{status:t.status,headers:n}))})),c=()=>r(t).then((e=>e?.json?.())),o=e=>(e.tp=Date.now(),i(t,new Response(JSON.stringify(e)))),u=async(e,t,...s)=>{s.length||(s=await clients.matchAll());const n={type:e,data:t};for(let e of s)e.postMessage(n)},h=async(s,n)=>{if(!n&&s&&Date.now()-s.tp<6e5)return;const r=await(await fetch("swpp/update.json",{priority:"high"})).json(),{global:i,info:c}=r,u={global:i,local:c[0].version,escape:0};if(!s)return await o(u),s?1:-1;if(s.global===i&&s.local===u.local)return;const h=[];for(let n of c){if(n.version===s.local){const s=[];return await caches.open(e).then((e=>e.keys())).then((async e=>{for(let n of e){const e=n.url;e!==t&&h.find((t=>t(e)))&&(await l(n),s.push(e))}})),s}const r=n.change;if(r)for(let e of r)h.push(a(e))}return await caches.delete(e).then((()=>o(u))),2},d=e=>{let t=e.request;if("GET"!==t.method||!t.url.startsWith("http"))return;const s=null;new URL((n=t.url).endsWith("/index.html")?n.substring(0,n.length-10):n.endsWith(".html")?n.substring(0,n.length-5):n);var n;const a=!1};self.addEventListener("install",(e=>{skipWaiting()})),self.addEventListener("activate",(e=>e.waitUntil(clients.claim()))),self.addEventListener("fetch",(e=>d(e))),self.addEventListener("periodicSync",(e=>{"update"===e.tag&&e.waitUntil(h(!0))})),self.addEventListener("message",(async e=>{if("update"===e.data.type){const e=await c(),t=await h(e);if(!t)return;switch(t){case-1:return u("new",null);case 1:return u("revise",null);case 2:return u("update",null);default:if(Array.isArray(t))return u("update",t)}}}))})();
|
File without changes
|