PageSourceSearch

https://lantian.pub/assets/WalineRecentComments.astro_astro_type_script_index_0_lang.IH-4y8rJ.js

js lantian.pub collected 2026-10-02 04:27:04 UTC 467 bytes, 1 lines download raw bytes

1import{t as e}from"./is-localhost.CAyeVhDG.js";var t=e()?`https://comments.lantian.pub`:window.location.origin;fetch(`${t}/api/comment?type=recent&count=10`).then(e=>{if(e.status!==200)throw Error(`Server returned bad HTTP status ${e.status}`);return e.json()}).then(e=>{let t=document.getElementById(`recent-comments`);t&&(t.innerHTML=e.data.map(e=>{let t=e.comment.replace(/(<([^>]+)>)/gi,``);return`<li>`+e.nick+` <a href="`+e.url+`">`+t+`</a></li>`}).join(``))});

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.