惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
C
CERT Recently Published Vulnerability Notes
C
Cybersecurity and Infrastructure Security Agency CISA
P
Proofpoint News Feed
Security Latest
Security Latest
P
Privacy International News Feed
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
AI
AI
Cisco Talos Blog
Cisco Talos Blog
K
Kaspersky official blog
S
Secure Thoughts
PCI Perspectives
PCI Perspectives
Simon Willison's Weblog
Simon Willison's Weblog
D
DataBreaches.Net
GbyAI
GbyAI
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
大猫的无限游戏
大猫的无限游戏
T
Tailwind CSS Blog
The Cloudflare Blog
阮一峰的网络日志
阮一峰的网络日志
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
罗磊的独立博客
V
Visual Studio Blog
aimingoo的专栏
aimingoo的专栏
H
Hackread – Cybersecurity News, Data Breaches, AI and More
IT之家
IT之家
V
V2EX
Last Week in AI
Last Week in AI
有赞技术团队
有赞技术团队
月光博客
月光博客
酷 壳 – CoolShell
酷 壳 – CoolShell
T
Tenable Blog
T
Threat Research - Cisco Blogs
T
Troy Hunt's Blog
V2EX - 技术
V2EX - 技术
S
Security @ Cisco Blogs
Security Archives - TechRepublic
Security Archives - TechRepublic
Project Zero
Project Zero
The GitHub Blog
The GitHub Blog
Recent Commits to openclaw:main
Recent Commits to openclaw:main
L
Lohrmann on Cybersecurity
F
Full Disclosure
H
Help Net Security
博客园 - Franky
Stack Overflow Blog
Stack Overflow Blog
N
Netflix TechBlog - Medium
Engineering at Meta
Engineering at Meta
A
Arctic Wolf
O
OpenAI News
S
Securelist

慕灵者说

应力函数 Markdown多语种测试 Markdown基础渲染测试 主题开发报告2.27-3.2 v3.0.1 文件附件测试 图片测试2 更新80/433访问 理解与功能
AJAX无限滚动实现
慕灵一儒 · 2026-03-03 · via 慕灵者说

用户URL直达或PJAX路由到页面

加载HTML(首屏10篇文章)
├─ 优先请求前三张图片,其它loadlazy

加载JS库(jQuery → hljs → KaTeX → Fancybox)

执行initMain()
├─ hljs.highlightAll()
├─ renderMathInElement(首屏文章)
├─ fancybox初始化
├─ 监听图片加载

用户滚动到底部(距离 300px)

触发AJAX逻辑 loadMorePosts()
├─ fetch请求下一分页
├─ 解析HTML
├─ 提取.post元素
├─ 插入到DOM
├─ hljs.highlightElement(新文章)
├─ renderMathInElement(新文章)
├─ fancybox(新画廊)
├─ 监听图片加载

继续滚动,重复加载
├─ fetch请求404(无新分页)
└─ 移除滚动监听器,加载渲染结束

仅代表个人观点,版权归作者所有。 内容可能经过LLM进行Markdown排版。
如若转载,请注明出处:https://blog.api.mlyr.top/index.php/archives/203/