Allow user to customize/contribute heading selectors. (Original: 自定义识别为目录的元素)
under review
F
Fallen Max
Merged in a post:
Refresh button and auto-refresh interval control
Austin Kaufman
When using things like ChatGPT, the headers are generated as the chat continues. It will pick some of them up after a while. The ability to manually refresh with a click would be great, or the ability to set an interval for how often it should manually refresh to look for new headers would be even better.
F
Fallen Max
Currently when Smart TOC is active, it will monitor the article element and re-generate TOC whenever its content has changed. I will take a look if this doesn't work for ChatGPT website.
As a side note, you can always turn-off then turn-on TOC (preferably with a shortcut) to re-generate TOC. Before the bug mentioned above is fixed.
Austin Kaufman
Fallen Max It may be beneficial to allow a custom top-level Div or css selector to be used and remembered per site. An extension that is not at all like this one but does allow this for reference: WebToEpub
F
Fallen Max
Austin Kaufman: Thank you for the suggestion, custom/user-contributed heading selector is under consideration, and I agree it's valuable for advanced users. Might need some time to implement
F
Fallen Max
Thank you for the suggestion! Will track the issue with this topic.
F
Fallen Max
Merged in a post:
False positives items in the resulting ToC
林
林博仁
Refer to this webpage: https://www.freedesktop.org/software/systemd/man/latest/udevadm.html
Refer to the attached screenshot, currently Smart ToC will consider
<strong class=""></strong>
HTML elements as a sub-heading, which wrongly matches bold style terms non-headings in the page.IMO while some websites use non-standard heading format, Smart ToC shouldn't be detecting them by default, and should only allow the detection as a opt-in workaround.
林
林博仁
For these website I'd rather prefer the solution of this feature request: https://smart-toc.canny.io/feature-requests/p/6218f2
It would also be helpful if Smart ToC can allow its users to contribute these custom rules so that users won't need to reinvent the wheels.
F
Fallen Max
under review