GitHub Table of Contents

A userscript that adds a table of contents to readme & wiki pages

Dette er versjoner av dette scriptet hvor koden ble oppdatert. Vis alle versjoner.

  • v2.1.6 17.02.2024

    feat: use eslint-plugin-userscripts (#202)

  • v2.1.6 08.11.2022 TOC: properly detect Gist markdown files
  • v2.1.5 24.10.2022 Global: Update dependencies
  • v2.1.4 30.04.2022 Add missing `GM.registerMenuCommand` Needed for Tampermonkey
  • v2.1.3 21.07.2021 Mutation: Update all
  • v2.1.2 21.02.2021 Add @supportURL pointing to the GitHub repo (#137) (per https://github.com/JasonBarnabe/greasyfork/issues/712#issuecomment-649176266 )
  • v2.1.2 31.01.2021 TOC: Fix logged out menu
  • v2.1.1 31.01.2021 TOC: Increase collapse hit box & fix redundant binding
  • v2.0.6 31.01.2021 Mutation: Add menu observer
  • v2.0.5 08.09.2020 Global: add global comment
  • v2.0.5 09.08.2020 TOC: Don't include sidebar headers. Closes #124
  • v2.0.4 23.07.2020 TOC: Hide on header double-click
  • v2.0.3 23.07.2020 TOC: double-click header to toggle. Closes #118
  • v2.0.2 17.07.2020 TOC: Fix Google translate broken links. Closes #117
  • v2.0.1 06.09.2019 TOC: Fix title update DOM target. See #102
  • v2.0.0 02.09.2019 TOC: Position popup based on window center. Closes #102
  • v1.3.4 28.04.2019 TOC: Update after merge of #80 Thanks @ottnorml!
  • v1.3.3 28.04.2019 Update TOC position due to Github design update (compare PR #43 && #55) (#80)
  • v1.3.3 28.04.2019 TOC: Code Cleanup, TOC: Fix clickable toggle area
  • v1.3.2 28.04.2019 TOC: Fix header alignment
  • v1.3.1 30.03.2019 TOC: Update header selector
  • v1.3.0 17.02.2019 TOC: Make compatible with GM. Fixes #69 Also reduce min headers from 2 to 1, Global: Update GitHub icon
  • v1.2.21 29.01.2019 Meta: Fix update mutation script, Global: Update mutation script
  • v1.2.20 05.10.2018 Mutations: Update comment load selector
  • v1.2.19 19.09.2018 TOC: bump version
  • v1.2.18 19.09.2018 Update TOC position due to Github design update (compare PR #43) (#55)
  • v1.2.18 01.08.2018 TOC: When collapsed, add padding to header & align button, TOC: Darken collapsed button
  • v1.2.17 16.06.2018 TOC: Change class names to prevent addon conflicts. Fixes #48
  • v1.2.16 17.05.2018 Global: Update mutation script
  • v1.2.15 10.05.2018 Global: Update mutation script
  • v1.2.14 16.04.2018 TOC: Bump version & update Authors
  • v1.2.13 16.04.2018 Moves the TOC by one pixel down to not overlap the top navigation (#43)
  • v1.2.13 09.04.2018 Global: update mutation script url
  • v1.2.12 18.01.2018 Update assets & fix linting
  • v1.2.11 08.10.2017 Global: update mutation script url
  • v1.2.10 22.08.2017 TOC: Update to use new header class
  • v1.2.9 16.05.2017 Global: update license & bump version
  • v1.2.8 24.04.2017 Global: update mutation url Not a big change for these scripts as none are set to run-at document-start
  • v1.2.7 14.04.2017 Imported from URL
  • v1.2.6 14.04.2017 Imported from URL
  • v1.2.4 04.04.2017 Imported from URL
  • v1.2.3 01.04.2017 Synced from GitHub - TOC: Collapse arrow now correctly groups sub-headers
  • v1.2.2 25.03.2017 Synced from GitHub - TOC: Use pjax & fix linting - TOC: Add link to docs
  • v1.2.1 29.12.2016 Synced from GitHub - Clean up linting issues
  • v1.2.0 29.07.2016 Synced from GitHub - TOC: Add z-index to icon (fixed headers) & convert to ES6
  • v1.1.2 05.07.2016 Synced from GitHub - TOC: Arrows will again collapse content
  • v1.1.1 06.06.2016 Synced from GitHub - TOC: Only clicking on an arrow will toggle the sub-group
  • v1.1.0 06.06.2016 Synced from GitHub - TOC: Code cleanup - TOC: Shift+click now toggles all same level items - TOC: Don't show TOC when less than 3 listings
  • v1.0.1 25.05.2016 Imported from URL
  • v1.0.0 29.03.2016 Imported from URL