Skip to content

GitHub diff links

Rob Garrison edited this page Oct 24, 2022 · 25 revisions

A userscript that adds links to diff and pull request headers to jump back & forth between files

  • A "Prev" and/or "Next" button is added to each diff & pull request file header.
  • Clicking on the link will jumps to the previous, or next file respectively.
  • A tooltip will show the name of the file that is the target of the link.
  • Click this link to install from GitHub; or, install from GreasyFork or OpenUserJS.

Screenshot

github-diff-links

Change Log

Version 1.2.18 (2022-10-24)

  • Update dependencies.

Version 1.2.17 (2021-07-21)

  • Move nav buttons. Closes #158.
  • Update mutation script.
  • Update utils script.

Version 1.2.16 (2021-01-31)

  • Update mutation script.

Version 1.2.15 (2019-04-28)

  • Fix alignment in new diff layout.

Version 1.2.14 (2019-02-16)

  • Update GitHub icon.

Version 1.2.13 (2019-01-28)

  • Update mutation script.

Version 1.2.12 (2018-10-05)

  • Update mutation script.

Version 1.2.11 (2018-05-17)

  • Update mutation script.

Version 1.2.10 (2018-05-10)

  • Update mutation script.

Version 1.2.9 (2018-04-09)

  • Update mutation script url.

Version 1.2.8 (2018-01-18)

  • Update assets.

Version 1.2.7 (2017-10-08)

  • Update mutation script url.

Version 1.2.6 (2017-05-16)

  • Change license to MIT.

Version 1.2.5 (2017-04-21)

  • Update mutation url.

Version 1.2.4 (2017-04-15)

  • Adjust anchors under sticky diff header.

Version 1.2.1 - 1.2.3 (2017-04-13)

  • Use mutations.js & fix links after progressive load.

Version 1.2.0 (2017-03-25)

  • Optimize observers & fix linting.

Version 1.1.2 (2016-12-28)

  • Clean up linting issues.

Version 1.1.0 & 1.1.1 (2016-09-14)

  • Code cleanup (beautify).
  • Add support to PR pages.
  • Add disabled prev & next buttons to first & last files, respectively.
  • Update userscript description.

Version 1.0.0 (2016-07-21)

  • Initial commit
Clone this wiki locally