Skip to content
no5ixPublic

About

A userscript that adds a table of contents to any website. 一个自动生成网站目录大纲的油猴脚本

Topics

Resources

Stars

29 stars

Watchers

1 watching

Forks

Repository files navigation

auto-toc

Displays a table of contents for any website, making it easier to read and navigate long articles, documentations, and online books.

Generate TOC(table of contents) for any website. 可以为任何网站生成TOC网站目录大纲.

高级技巧Advanced Skills

Features

  • Work properly on any website that conforms to the HTML standard and uses HTML heading tags properly (e.g. Wikipedia.com).
  • Accurate article and heading detection
  • A clean user interface
  • Highlight current heading
  • Click to jump to headings
  • Drag the panel to your preferred position
  • Only runs when you actually use it
  • Dark mode, automatically
  • 6 heading levels
  • Expand all headings to a specific level
  • Support HTML label:
    • H1, H2, H3, H4, H5, H6
    • <strong>
    • <b>
  • Anti-Google-Redirect
  • Anti-Jumping-Warnings
  • Hide-Zhihu-Top-Bar-When-Scrolling-Down
  • Touch-Fish(Shrink IMG)

Installation & Usage

By default, TOC is enabled on all websites. Sites where a legacy saved preference explicitly disables TOC remain disabled.

可以为任何网站生成 TOC 网站目录大纲。默认在所有网站启用;如果旧设置明确关闭了某个网站,则继续尊重该设置。

About

A userscript that adds a table of contents to any website. 一个自动生成网站目录大纲的油猴脚本

Topics

Resources

Stars

29 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages

⌂ Proxy