GitHub Code Colors

A userscript that adds a color swatch next to the code color definition

As of 14. 04. 2017. See the latest version.

These are versions of this script where the code was updated. Show all versions.

  • v2.0.9 17. 02. 2024

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

  • v2.0.9 12. 04. 2023 Github Code Colors - Fix GitHub domains include (#180) * github-code-colors.user.js: Fix GitHub domains * github-code-colors.user.js: Bump version
  • v2.0.8 24. 10. 2022 Global: Update dependencies
  • v2.0.6 21. 07. 2021 Code-colors: Update selectors, Mutation: Update all
  • v2.0.5 21. 02. 2021 Add @supportURL pointing to the GitHub repo (#137) (per https://github.com/JasonBarnabe/greasyfork/issues/712#issuecomment-649176266 )
  • v2.0.5 31. 01. 2021 Mutation: Add menu observer
  • v2.0.4 08. 09. 2020 Global: add global comment
  • v2.0.4 23. 09. 2019 Code-color: Fix linting issue
  • v2.0.4 31. 07. 2019 Code-color: Add copy to clipboard buttons to popup
  • v2.0.3 25. 07. 2019 Code-colors: Fix horizontal overflow. Closes #96
  • v2.0.2 24. 07. 2019 Code-colors: Fix text selection in popup. See #95
  • v2.0.1 24. 07. 2019 Code-colors: Fix issue comment submit
  • v2.0.0 24. 07. 2019 Code-colors: Add popup with color formats. Closes #95
  • v1.2.5 17. 02. 2019 Global: Update GitHub icon
  • v1.2.4 29. 01. 2019 Global: Update mutation script
  • v1.2.3 05. 10. 2018 Mutations: Update comment load selector
  • v1.2.2 13. 08. 2018 Code-colors: Prevent adding a swatch to JS `Math.tan`
  • v1.2.1 31. 07. 2018 Code-color: Fix JS error Only seen when used with a certain chrome extension
  • v1.2.0 16. 07. 2018 Code-colors: Speed up DOM interaction Code cleanup & start using `requestAnimationFrame` with a generator
  • v1.1.16 17. 05. 2018 Global: Update mutation script
  • v1.1.15 10. 05. 2018 Global: Update mutation script
  • v1.1.14 09. 04. 2018 Global: update mutation script url
  • v1.1.13 01. 02. 2018 Imported from URL
  • v1.1.12 15. 12. 2017 Code-colors: Add GM4 polyfill & update assets
  • v1.1.11 23. 11. 2017 Code-colors: Ignore nested color blocks
  • v1.1.10 08. 10. 2017 Global: update mutation script url
  • v1.1.9 22. 09. 2017 Imported from URL
  • v1.1.8 16. 05. 2017 Global: update license & bump version
  • v1.1.7 24. 04. 2017 Global: update mutation url Not a big change for these scripts as none are set to run-at document-start
  • v1.1.6 14. 04. 2017 Imported from URL
  • v1.1.5 14. 04. 2017 Imported from URL
  • v1.1.4 14. 04. 2017 Imported from URL
  • v1.1.3 05. 04. 2017 Imported from URL
  • v1.1.2 29. 03. 2017 Synced from GitHub - Code-colors: fix misspelled color name
  • v1.1.1 25. 03. 2017 Synced from GitHub - Code-colors: Use pjax & preview events
  • v1.1.0 12. 09. 2016 Synced from GitHub - Code-Colors: Add "grey" color names & beautify
  • v1.0.2 20. 08. 2016 Imported from URL
  • v1.0.1 11. 04. 2016 Synced from GitHub - Code Colors: remove comment
  • v1.0.1 25. 03. 2016 Synced from GitHub - Code colors: support unix style hex colors - Code colors: support colors inside strings - Code colors: cache regex in loop - version bump
  • v1.0.0 25. 03. 2016 Imported from URL
  • v0.1.2 20. 03. 2016 Imported from URL
  • v0.1.1 20. 03. 2016 Imported from URL
  • v0.1.0 20. 03. 2016 Imported from URL

长期地址
遇到问题?请前往 GitHub 提 Issues。