Overview Smart TOC works well on static pages but cannot update headings on dynamic pages (e.g., ongoing AI chat outputs, lazily loaded content). Newly generated headings will never show up in the TOC. Current Issue The plugin’s built-in Refresh button is ineffective. It only resets TOC styling/layout and does not re-scan the page DOM. Old headings remain, and new dynamic headings are not added, resulting in an outdated and useless directory. Suggested Improvement Update the refresh button logic: on plugin refresh, fully re-scan current page headings. After clicking refresh, the TOC should synchronize with the latest page content — remove obsolete headings and add newly generated ones, while keeping existing display formatting features. Benefits Supports dynamic content scenarios: AI conversations, incrementally loaded articles Zero new UI required, low-cost upgrade with existing button Expected Behavior Plugin Refresh → Rescan page headings → Update TOC (add new / remove outdated entries)