dtoc 版本历史 - 4 个版本
dtoc 作者: Ashutosh Kumar
dtoc 版本历史 - 4 个版本
小心旧版本!显示这些版本是为了测试和参考目的。您应该始终使用附加组件的最新版本。
最新版本
版本 3.0.0
发布于 2026年6月17日 - 32.8 KB适用于 firefox 109.0 及更高版本- UI Overhaul: Redesigned the Table of Contents layout from a solid sidebar block into a modern, non-intrusive Glassmorphism "Peek" Drawer (Hover-to-Expand Sidebar) layout.
- Minimized Notch Indicator: Added minimized state notches that act as a passive visual indicator of heading levels and document density, flushed perfectly to the viewport edge (left or right).
- Dynamic Vertical Alignment: Centers the first notch / first heading link with the page title (floating dynamically as you scroll) with no vertical jump during expansion.
- Smart Auto Theme Detection: Added preference-based "Smart Auto" theme detection that dynamically infers dark/light mode based on page background/text color analysis and direct detection of Dark Reader forced dark themes, in addition to manual light and dark theme toggles.
- Compact Maximum Height: Constrained the maximum TOC height to a compact 480px with vertical scroll support inside both the notches strip and the expanded TOC panel for long documents.
- Active Heading Auto-Centering: Active heading notches now auto-scroll to the center of the minimized notch stack as you scroll through the page.
- Scoped States: Scoped minimized/pinned/closed states to site-specific configs when "Only for" site-specific override is active.
- Security Hardening: Hardened extension security against DOM-based Denial of Service (DoS) and Regular Expression Denial of Service (ReDoS) by enforcing a 500-character length limit on extracted page titles and heading texts.
- Accessibility Enhancements: Improved keyboard and screen-reader accessibility in the extension settings popup with clear focus indicator rings (
:focus-visible), interactivearia-pressedstates, standard ARIA roles, and semantic labels. - Page Jump & Auto-Scroll Fixes: Resolved page jumps during load/reload by clearing
dtoc-prefixed fragment hashes from the URL on init. Constrained elements auto-scrolling during scroll-spy activation to their local scroll container boundary, preventing page scroll pollution. - Disabled Sites Fix: Prevented initialization of the UI and observers on disabled websites to avoid unnecessary background processing.
- Rebranding & Fresh Iconography: Rebranded the extension with a new logo and iconography, standardizing browser icons and cleaning up deprecated theme-specific icon resources.
源代码遵循 MIT 许可证 发布
较早版本
版本 2.0.0
发布于 2026年6月6日 - 27.38 KB适用于 firefox 109.0 及更高版本v2.0.0- Added experimental support (Beta) for all websites using generic HTML semantic selectors.
- Overhauled the extension popup UI with split settings (Global vs. Site-Specific status toggles and TOC position settings).
- Added "Reset Site Settings" and "Reset All Settings" buttons in the popup, with the "Reset Site Settings" button dynamically disabled when no site-specific settings are configured.
- Added native support for DEV Community (dev.to).
- Added native support for Medium (medium.com and subdomains) as well as common custom-domain Medium publications (e.g., levelup.gitconnected.com, python.plainenglish.io).
- Added a dynamic page/article title heading at the top of the Table of Contents for quick navigation back to the top of the page.
源代码遵循 MIT 许可证 发布
版本 1.1.0
发布于 2026年6月5日 - 22.49 KB适用于 firefox 109.0 及更高版本v1.1.0
- Added ability to request support for new websites directly from the extension popup (links to a Google Form).
- Extracted hostname is passed to the Form to maintain user privacy.
- Displays Open Source text in the extension popup footer.源代码遵循 MIT 许可证 发布