{"id":15632817,"url":"https://github.com/hikerpig/toc-bar-userscript","last_synced_at":"2025-04-30T06:44:04.566Z","repository":{"id":42027599,"uuid":"276413065","full_name":"hikerpig/toc-bar-userscript","owner":"hikerpig","description":"A user script that adds floating widget displaying table of content of current page","archived":false,"fork":false,"pushed_at":"2024-01-14T02:53:00.000Z","size":883,"stargazers_count":34,"open_issues_count":7,"forks_count":5,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-30T06:43:54.728Z","etag":null,"topics":["greasyfork","openuserjs","tableofcontents","violentmonkey-script"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hikerpig.png","metadata":{"files":{"readme":"README-zh_CN.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-07-01T15:22:39.000Z","updated_at":"2025-01-25T04:47:56.000Z","dependencies_parsed_at":"2024-10-22T15:12:29.252Z","dependency_job_id":null,"html_url":"https://github.com/hikerpig/toc-bar-userscript","commit_stats":null,"previous_names":[],"tags_count":14,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hikerpig%2Ftoc-bar-userscript","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hikerpig%2Ftoc-bar-userscript/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hikerpig%2Ftoc-bar-userscript/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hikerpig%2Ftoc-bar-userscript/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hikerpig","download_url":"https://codeload.github.com/hikerpig/toc-bar-userscript/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251658196,"owners_count":21622819,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["greasyfork","openuserjs","tableofcontents","violentmonkey-script"],"created_at":"2024-10-03T10:45:24.245Z","updated_at":"2025-04-30T06:44:04.516Z","avatar_url":"https://github.com/hikerpig.png","language":"JavaScript","readme":"# Toc Bar\n\n一个油猴脚本，在页面中插入一个显示当前内容大纲的浮动组件，可[去 greasyfork 下载](https://greasyfork.org/zh-CN/scripts/406337-toc-bar)。\n\n目前适配了一些个人经常访问的网站，主要面向技术阅读，知乎/Medium/devto/github 之类。\n\n## ✨Features\n\n- 使用 [tocbot](https://tscanlin.github.io/tocbot) 生成 Table of Content\n- 对一些页面中 `h*` 标签不带 id 的网站，生成 id，以实现点击 TOC 标题跳转到对应内容的功能\n- 不想使用的时候，组件可以一键折叠，避免挡住正在浏览的内容\n\n## Screenshots\n\n![tocbar-github.png](https://raw.githubusercontent.com/hikerpig/toc-bar-userscript/master/images/screenshot-3.png)\n\n![devto](https://raw.githubusercontent.com/hikerpig/toc-bar-userscript/master/images/screenshot-2.png)\n\n![zhuanlan-sspai](https://raw.githubusercontent.com/hikerpig/toc-bar-userscript/master/images/screenshot-1.jpg)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhikerpig%2Ftoc-bar-userscript","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhikerpig%2Ftoc-bar-userscript","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhikerpig%2Ftoc-bar-userscript/lists"}