toc-bar-userscript icon indicating copy to clipboard operation
toc-bar-userscript copied to clipboard

A user script that adds floating widget displaying table of content of current page

Results 6 toc-bar-userscript issues
Sort by recently updated
recently updated
newest added

类似 chrome 插件 https://chrome.google.com/webstore/detail/smart-toc/lifgeihcfpkmmlfjbailfpfhbahhibba 可以设置快捷键在heading之间跳转

有的网站想显示TOC Bar, 有的网站想隐藏. 但是目前在一个网站上点击隐藏了, 其他网站也都自动隐藏了, 不太符合习惯.

[示例链接](https://www.ruanyifeng.com/blog/2022/04/weekly-issue-202.html) ![image_215](https://user-images.githubusercontent.com/42032091/164187502-9d2a6f5d-0083-4141-a79d-3339a117ddf4.png)

如果开发者有余力的话,请求适配少数派(sspai.com)。虽然少数派上技术文档不是特别多,~~但是蛮多人挺爱去看的。~~

参考 https://greasyfork.org/zh-CN/scripts/437941-%E5%B0%8F%E7%A0%B4%E7%AB%99%E5%BF%85%E5%A4%872022-%E5%93%94%E5%93%A9%E5%93%94%E5%93%A9-bilibili-b%E7%AB%99-%E8%87%AA%E5%8A%A8%E5%A2%9E%E5%BC%BA-%E5%8A%9F%E8%83%BD%E5%BF%AB%E6%8D%B7%E9%94%AE-%E8%A7%86%E9%A2%91%E6%99%BA%E8%83%BD%E8%A7%A3%E6%9E%90-%E6%AF%8F%E6%97%A5%E4%BB%BB%E5%8A%A1%E7%AD%89

1、目录的框能自行调节大小(因为网页文章的左右页边距有限,有时目录的框太宽了,会挡住一部分文章内容)。 2、目录的框能自定义锁定在某个位置(点击“固定位置”按钮后目录框的位置就被锁定了,鼠标左键按住拖动不会再移动目录框的位置,再次点击“固定位置”按钮 From: https://greasyfork.org/zh-CN/scripts/406337-toc-bar-auto-generating-table-of-content/discussions/90029