Greasy Fork is available in English.

GitHub Code Folding

A userscript that adds code folding to GitHub files

Đây là phiên bản của script này, nơi mã nguồn đã được cập nhật. Hiện tất cả các phiên bản.

  • v1.1.5 17-02-2024

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

  • v1.1.5 01-07-2023

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

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