GitHub Code Folding

A userscript that adds code folding to GitHub files

這裡顯示腳本的所有版本。 只顯示彼此間有代碼差異的版本。

  • v1.1.5 2024-02-17

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

  • v1.1.5 2023-07-01

    Global: replace @include with @match (#192)

  • v1.1.5 2022-10-24 Global: Update dependencies
  • v1.1.4 2021-07-21 Mutation: Update all
  • v1.1.3 2021-04-01 Code-folding: cleanup
  • v1.1.2 2021-04-01 Code-folding: Insert triangles before other nodes (#142) Fix text selection when user starts selection clicking on the triangle
  • v1.1.2 2021-02-21 Add @supportURL pointing to the GitHub repo (#137) (per https://github.com/JasonBarnabe/greasyfork/issues/712#issuecomment-649176266 )
  • v1.1.2 2021-01-31 Mutation: Add menu observer
  • v1.1.1 2020-09-08 Global: add global comment
  • v1.1.1 2020-05-12 Code-folding: Reduce arrow container width
  • v1.1.0 2020-05-12 Improve the arrow transition (#111)
  • v1.1.0 2020-03-28
  • v1.1.0 2019-06-07 Code-folding: Update selectors, support gists & cleanup. Fixes #86
  • v1.0.18 2019-02-17 Global: Update GitHub icon
  • v1.0.17 2019-01-29 Global: Update mutation script
  • v1.0.16 2018-10-05 Mutations: Update comment load selector
  • v1.0.15 2018-05-28 Code-folding: Reformat & version bump
  • v1.0.14 2018-05-28 Make github-code-folding.user.js work on mobile layout (#47)
  • v1.0.14 2018-05-17 Global: Update mutation script
  • v1.0.13 2018-05-10 Global: Update mutation script
  • v1.0.12 2018-04-09 Global: update mutation script url
  • v1.0.11 2018-02-27 Code-folding: Fix arrow position
  • v1.0.10 2018-02-01 Imported from URL
  • v1.0.9 2017-12-15 Code-folding: Add GM4 polyfill & update assets
  • v1.0.8 2017-10-11 Code-folding: Remove incorrect code padding
  • v1.0.7 2017-10-08 Global: update mutation script url
  • v1.0.6 2017-09-02 Code-folding: Position ellipsis above code guides, Code-folding: Append collapse arrow Prevent interference with whitespace userscript
  • v1.0.5 2017-05-16 Global: update license & bump version
  • v1.0.4 2017-04-24 Global: update mutation url Not a big change for these scripts as none are set to run-at document-start
  • v1.0.3 2017-04-14 Imported from URL
  • v1.0.2 2017-04-14 Imported from URL
  • v1.0.1 2017-04-14 Imported from URL
  • v1.0.0 2017-03-25 Synced from GitHub - Code-folding: Use pjax & fix linting
  • v0.1.1 2017-01-12 Synced from GitHub - Global: Clean up "closest" function - Global: Use "classList" toggle
  • v0.1.0 2016-12-29
  • v0.1.0 2016-12-29
  • v0.1.0 2016-12-29 Imported from URL