GitHub Code Show Whitespace

A userscript that shows whitespace (space, tabs and carriage returns) in code blocks

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

  • v1.2.13 17.02.2024.

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

  • v1.2.13 01.07.2023.

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

  • v1.2.13 24.10.2022. Global: Update dependencies
  • v1.2.12 21.07.2021. Mutation: Update all
  • v1.2.11 21.02.2021. Add @supportURL pointing to the GitHub repo (#137) (per https://github.com/JasonBarnabe/greasyfork/issues/712#issuecomment-649176266 )
  • v1.2.11 31.01.2021. Mutation: Add menu observer
  • v1.2.10 08.09.2020. Global: add global comment
  • v1.2.10 02.07.2019. Show-whitespace: Fix PR button alignment. Closes #91, Show-whitespace: No button for new gists
  • v1.2.9 07.06.2019. Show-whitespace: Update selectors for GitHub changes
  • v1.2.8 28.04.2019. Code-show-whitespace: Fix alignment in new diff layout
  • v1.2.7 18.02.2019. Code-show-whitespace: Hide extra <br> in code. Fixes #65
  • v1.2.6 17.02.2019. Global: Update GitHub icon
  • v1.2.5 29.01.2019. Global: Update mutation script
  • v1.2.4 05.10.2018. Mutations: Update comment load selector
  • v1.2.3 03.08.2018. Code-show-whitespace: Only hide first wrapped space in expanded blocks
  • v1.2.2 03.08.2018. Code-show-whitespace: Hide extra leading space in diffs Partially revert 813ca673488b0d67cd347bc7b8f4d5e40d2ec787
  • v1.2.1 31.07.2018. Code-show-whitespace: Fix GM command issues & other silly mistakes
  • v1.2.0 31.07.2018. Code-show-whitespace: Diffs signs now use a pseudo-element, Code-show-whitespace: Add show whitespace option. Closes #53, Code-show-whitespace: Speed up DOM interaction Start using `requestAnimationFrame` with a generator
  • v1.1.10 17.05.2018. Global: Update mutation script
  • v1.1.9 10.05.2018. Global: Update mutation script
  • v1.1.8 09.04.2018. Global: update mutation script url
  • v1.1.7 01.02.2018. Imported from URL
  • v1.1.6 22.12.2017. Code-show-whitespace: Tooltips show below sticky header
  • v1.1.5 15.12.2017. Code-show-whitespace: Add GM4 polyfill & update assets
  • v1.1.4 05.12.2017. Code-show-whitespace: Use smaller icon OpenUserJS doesn't allow using GitHub's hosted 512x512 icon anymore, see https://github.com/OpenUserJS/OpenUserJS.org/issues/1308
  • v1.1.3 05.12.2017. Code-show-whitespace: Use updated mutations script. Fixes #33
  • v1.1.2 11.10.2017. Code-show-whitespace: Fix expanded & diff rows
  • v1.1.1 11.10.2017. Code-show-whitespace: Hide leading space in diff. See #27
  • v1.1.0 03.10.2017. Code-show-whitespace: Fix weird alignment issues in markdown files. See #27, Code-show-whitespace: Fix alignment for no-extension files. See #27, Code-show-whitespace: Remove all tab-size adjustments
  • v1.0.0 01.10.2017. Code-show-whitespace: Show all whitespace. Fixes #27
  • v0.1.8 22.09.2017. Imported from URL
  • v0.1.7 02.09.2017. Code-show-whitespace: Properly add whitespace to all lines
  • v0.1.6 16.05.2017. Global: update license & bump version
  • v0.1.5 24.04.2017. Global: update mutation url Not a big change for these scripts as none are set to run-at document-start
  • v0.1.4 14.04.2017. Imported from URL
  • v0.1.3 14.04.2017. Imported from URL
  • v0.1.2 14.04.2017. Imported from URL
  • v0.1.1 27.03.2017. Synced from GitHub -
  • v0.1.0 26.03.2017. Imported from URL

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