Skip to content

GitHub diff links

Rob Garrison edited this page Sep 22, 2017 · 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.6 (5/16/2017)

  • Change license to MIT.

Version 1.2.5 (4/21/2017)

  • Update mutation url.

Version 1.2.4 (4/15/2017)

  • Adjust anchors under sticky diff header.

Version 1.2.1 - 1.2.3 (4/13/2017)

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

Version 1.2.0 (3/25/2017)

  • Optimize observers & fix linting.

Version 1.1.2 (12/28/2016)

  • Clean up linting issues.

Version 1.1.0 & 1.1.1 (9/14/2016)

  • 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 (7/21/2016)

  • Initial commit
Clone this wiki locally