https://github.com/hikerpig/toc-bar-userscript
A user script that adds floating widget displaying table of content of current page
https://github.com/hikerpig/toc-bar-userscript
greasyfork openuserjs tableofcontents violentmonkey-script
Last synced: 10 months ago
JSON representation
A user script that adds floating widget displaying table of content of current page
- Host: GitHub
- URL: https://github.com/hikerpig/toc-bar-userscript
- Owner: hikerpig
- Created: 2020-07-01T15:22:39.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2024-01-14T02:53:00.000Z (about 2 years ago)
- Last Synced: 2025-04-30T06:43:54.728Z (10 months ago)
- Topics: greasyfork, openuserjs, tableofcontents, violentmonkey-script
- Language: JavaScript
- Homepage:
- Size: 862 KB
- Stars: 34
- Watchers: 2
- Forks: 5
- Open Issues: 7
-
Metadata Files:
- Readme: README-zh_CN.md
Awesome Lists containing this project
README
# Toc Bar
一个油猴脚本,在页面中插入一个显示当前内容大纲的浮动组件,可[去 greasyfork 下载](https://greasyfork.org/zh-CN/scripts/406337-toc-bar)。
目前适配了一些个人经常访问的网站,主要面向技术阅读,知乎/Medium/devto/github 之类。
## ✨Features
- 使用 [tocbot](https://tscanlin.github.io/tocbot) 生成 Table of Content
- 对一些页面中 `h*` 标签不带 id 的网站,生成 id,以实现点击 TOC 标题跳转到对应内容的功能
- 不想使用的时候,组件可以一键折叠,避免挡住正在浏览的内容
## Screenshots


