Firefox 浏览器附加组件
  • 扩展
  • 主题
    • 适用于 Firefox
    • 字典和语言包
    • 其他浏览器网站
    • 适用于 Android 的附加组件
登录
附加组件图标

Page Content to Markdown 版本历史 - 2 个版本

Page Content to Markdown 作者: Jared

目前尚无评分
0 / 5 星
5
0
4
0
3
0
2
0
1
0
Page Content to Markdown 版本历史 - 2 个版本
  • 小心旧版本!显示这些版本是为了测试和参考目的。您应该始终使用附加组件的最新版本。

  • 最新版本

    版本 1.0.1

    发布于 2026年5月12日 - 119.44 KB
    适用于 firefox 109.0 及更高版本
    Fixed
    • General extractor picks the largest matching candidate per selector, not the first. On The Verge, the first <article> on a story page is a related-cards stub — first-match-wins picked it and returned empty markdown. Score every match by textContent.length and pick the largest qualifying candidate.
    • Tighter content-significance threshold. Bump the hasSignificantContent floor to ≥3 <p> descendants and ≥500 chars of trimmed text. Rejects related-card grids that previously slipped through because their aggregated link text passed the old 50-char gate.
    • SVG elements no longer crash Turndown mid-traversal. SVG className is a SVGAnimatedString, not a string; calling .toLowerCase() on it threw and Turndown returned '' for the whole page. Read class via getAttribute('class') throughout the converter, with a fallback to .baseVal for safety. Eliminates a silent empty-output failure mode on news sites that ship inline SVG icons.
    • Visible junk inside the article body no longer ships through. Expanded the non-content substring regex with author-bio, author-card, byline-bio, topics-list, tags-list, tags-row, subscribe, affiliate, disclosure, disclaimer, share-row, share-icons, social-icons, related-articles, related-stories, read-more-cta, keep-reading, frequently-asked, faq-, further-reading, comments-section. Clears author-bio cards on TechCrunch / Tom's Guide, the trailing FAQ section on Mashable, and the end-of-post subscribe widget on Substack.
    • Structural section rejector for related/topics/FAQ/subscribe blocks. Any <section> or <div> whose first heading (looking one level deep through a wrapper div) reads as Topics, Tags, Related…, Frequently Asked…, Further Reading, Read Next, Keep Reading, Recommended, or Subscribe to… gets rejected wholesale, regardless of class names. Catches framework-generated wrappers (mx-auto mt-12, pc-paddingTop-32) that didn't pattern-match before.

    源代码遵循 MIT 许可证 发布

    下载 Firefox 并安装扩展
    下载文件
  • 较早版本

    版本 1.0.0

    发布于 2026年5月8日 - 115.92 KB
    适用于 firefox 109.0 及更高版本

    源代码遵循 MIT 许可证 发布

    下载文件
转至 Mozilla 主页

附加组件

  • 关于
  • Firefox 附加组件博客
  • 扩展工坊
  • 开发者中心
  • 开发者政策
  • 社区博客
  • 论坛
  • 报告缺陷
  • 评价指南

浏览器

  • Desktop
  • Mobile
  • Enterprise

产品

  • Browsers
  • VPN
  • Relay
  • Monitor
  • Pocket
  • Bluesky (@firefox.com)
  • Instagram (Firefox)
  • YouTube (firefoxchannel)
  • 隐私
  • Cookie
  • 法律

除非另有注明,否则本网站上的内容可按知识共享 署名-相同方式共享 3.0 或更新版本使用。