auto-toc

Generate table of contents for any website. By default, it is not open. You need to go to the plug-in menu to open the switch for the website that wants to open the toc. The plug-in will remember this switch, and the toc will be generated automatically according to the switch when you open the website the next time.

These are versions of this script where the code was updated. Show all versions.

  • v1.50 2024-01-16
  • v1.49 2024-01-13
  • v1.48 2023-12-12 Imported from URL
  • v1.48 2023-12-12

    modify css: scrollbar

  • v1.47 2023-12-12

    up

  • v1.46 2023-12-11
    • optimize interval timer & modify css for collapse mode
    • modify css: lower auto-toc z-index
  • v1.45 2023-12-10 Imported from URL
  • v1.43 2023-12-10 Imported from URL
  • v1.42 2023-11-20 Imported from URL
  • v1.42 2023-11-20

    up

  • v1.41 2023-11-18

    Remove the indent when hovering over a Table of Contents (TOC) heading

  • v1.40 2023-11-16

    up

  • v1.39 2023-11-16

    optimize: b/strong

  • v1.38 2023-11-15

    up

  • v1.37 2023-11-15

    optimize: combine section b/strong headings

  • v1.36 2023-11-13

    optimize: support section b/strong headings

  • v1.35 2023-11-13

    extra tough!

  • v1.34 2023-11-13

    up

  • v1.33 2023-11-13

    up

  • v1.32 2023-11-13

    optimize: extract centered headings

  • v1.31 2023-11-11

    up

  • v1.30 2023-11-11

    optimize: extract none-regular heading & remove the active/hover heading padding css

  • v1.29 2023-10-31

    optimize

  • v1.28 2023-10-31

    optimize: extract b strong

  • v1.27 2023-10-31

    update: scroll speed

  • v1.26 2023-10-31

    optimize: extract

  • v1.25 2023-10-31
    • add: single click to toggle text wrap & refactor the extract headings code
    • 单击 TOC拖动栏 可以切换标题折行 update toc css: ul a:hover
  • v1.24 2023-10-31
    • add solid dot in front of each heading
    • 在每个标题前面加个实心圆点
  • v1.23 2023-10-30

    optimize: regenerate toc after shrink img

  • v1.22 2023-10-30
    • add: auto text wrap when overflow
    • 增加: 当标题过长的时候自动折行
  • v1.21 2023-10-29

    add zhihuautoredirect & safari google anti-redirect & optimize shrink img timer

  • v1.20 2023-10-29
    • update ShrinkImg div-wrapper's style
  • v1.19 2023-10-22
    • optimize
  • v1.18 2023-10-20
    • optimize: touch fish for safari
    • 优化: 摸鱼兼容safari
  • v1.17 2023-10-20
    • 优化: 不处理header里的图片 & 图片放大缩小加一个舒服的transition
    • optimize: ignore img in the header & add a nice transition for shrinking img
  • v1.16 2023-10-20
    • optimize: touch fish on Zhihu-展开阅读全问
    • 优化: 知乎展开阅读全文的摸鱼
  • v1.15 2023-10-19
    • optimize: touch fish
    • 优化: 缩图
  • v1.14 2023-10-19
    • optimize: touch fish
    • 优化: touch fish
  • v1.13 2023-10-18
    • 1. 缩小图片 2. anti-jump-warning 3. 谷歌禁止重定向 4. 知乎-向下翻时自动隐藏顶栏
    • 1. shrink img 2. anti-jump-warning 3. anti-google-redirect 4. zhihu-autoHideTopBarWhenScrollDown
  • v1.12 2023-10-09
    • We assume that users have opened Edge's sidebar, so we move the auto-toc 36 units to the left.
    • 我们假定用户都开启了Edge浏览器侧边栏, 所以把auto-toc 往左多移了 36 单位.
  • v1.11 2023-09-09
    • now you can resize auto-toc by puting the pointer on the bottom right corner of auto-toc and draging it.
    • 现在你可以设置auto-toc的宽度了, 把你鼠标放到auto-toc的右下角然后拖动即可
  • v1.09 2023-05-10
    • Remove 'automatically jump to first title when web page opens' logic 删除'
    • 打开网页时自动跳到第一个标题'的逻辑
  • v1.08 2023-04-01

    center the toast

  • v1.07 2023-03-30

    remove click delay

  • v1.06 2023-03-30
  • v1.05 2023-03-28

    scroll back

  • v1.04 2023-03-28

    hide rollbar

  • v1.03 2023-03-28

    fix edge/chrome err

  • v1.02 2023-03-26
    • add toc max-height transition
    • add toc auto collapse opacity transition
  • v1.01 2023-03-25

    update toast css

Show all script versions