Firefox Browser Add-ons
  • Extensions
  • Themes
    • for Firefox
    • Dictionaries & Language Packs
    • Other Browser Sites
    • Add-ons for Android
Log in
Preview of Diff Navigator for GitHub

Diff Navigator for GitHub by Dean Attali

GitHub Diff Navigator allows you to easily navigate through the changes in a file that has been edited on GitHub.

0 (0 reviews)0 (0 reviews)
2 Users2 Users
You'll need Firefox to use this extension
Download Firefox and get the extension
Download file

Extension Metadata

Screenshots
About this extension
GitHub Diff Navigator allows you to easily navigate through the changes in a file that has been edited on GitHub.
Code available at: https://github.com/daattali/github-diff-navigator-extension/

Description
=========

This is a Firefox extension that allows you to easily navigate through the changes in a file that has been edited on GitHub.

You may have noticed that after editing a file through GitHub and previewing your changes, there is no easy way to navigate through the changes in a nice "next/previous change" manner. Most file formats only show the lines that were changed and several surrounding lines, so it's usually not a terrible inconvenience, but for any markdown document (.md) the situation is different. GitHub shows the entire markdown document when previewing the changes made, which means that if you're making a few tiny edits to a large document, it's very hard to find those edits and see what's changed. Rmarkdown (.Rmd) documents behave similarly, and potentially other markdown-type documents as well.

Enter: GitHub Diff Navigator.


Motivation
=========

The idea for this extension came when I was reading through Hadley Wickham's Advanced R book. Every time I found a few typos in a chapter (which is a single markdown document), I would edit it on GitHub and make a pull request.
To make sure I didn't make an idiot out of myself, I wanted to double-check my edits in the Preview tab, but I noticed the problem described above. I didn't trust my eyes in finding the few edits in such large files, and I ended up using the DOM + JavaScript console to help me find where the edits were.
Then I decided that playing in the JavaScript console wasn't hardcore enough and I decided to spend the next two days making an extension that will help me find such changes quickly in the future.


Features
=========

- GitHub Diff Navigator is non-intrusive and will only show up when looking at the Preview of edits made on a file using GitHub.
- GitHub Diff Navigator will not take up any resources or show up in the Task Manager when you don't have a valid GitHub edited page open.
- Works with multiple GitHub tabs that are open simultaneously (every time you switch tabs, the extension will update to show you the edits in that tab).
- Automatically detect whether the file being edited is markdown-type or not, and seamlessly works for both.
- Clean and intuitive UI with helpful messages shown when no edits are found.
Expand to Read more
Rated 0 by 0 reviewers
Log in to rate this extension
There are no ratings yet

Star rating saved

5
0
4
0
3
0
2
0
1
0
No reviews yet
Permissions and dataLearn more

Required permissions:

  • Access your data for github.com
More information
Add-on Links
  • Homepage
  • Support Email
Version
1.0
Size
72.48 KB
Last updated
5 years ago (Jun 24, 2020)
Related Categories
  • Web Development
License
MIT License
Version History
  • See all versions
Add to collection
Report this add-on
Other popular extensions
  • Dark Reader

    Dark Reader
    RecommendedRecommended

    Rated 4.5 out of 5

    Dark Reader Ltd

    1,228,838 users

  • Grammar and Spell Checker - LanguageTool

    Grammar and Spell Checker - LanguageTool
    RecommendedRecommended

    Rated 4.7 out of 5

    LanguageTooler GmbH

    362,613 users

  • Search by Image

    Search by Image
    RecommendedRecommended

    Rated 4.6 out of 5

    Armin Sebastian

    406,484 users

  • Tree Style Tab

    Tree Style Tab
    RecommendedRecommended

    Rated 4.5 out of 5

    Piro (piro_or)

    178,169 users

More extensions by Dean Attali
  • Old School GitHub

    Old School GitHub

    Rated 5 out of 5

    Dean Attali

    65 users

  • Wayback Wiki

    Wayback Wiki

    There are no ratings yet

    Dean Attali

    8 users

  • Single-Page Amazon Return Labels

    Single-Page Amazon Return Labels

    There are no ratings yet

    Dean Attali

    7 users

  • Cashflow Calculator for Zillow/Trulia/Redfin

    Cashflow Calculator for Zillow/Trulia/Redfin

    Rated 5 out of 5

    Dean Attali

    6 users

Go to Mozilla's homepage

Add-ons

  • About
  • Firefox Add-ons Blog
  • Extension Workshop
  • Developer Hub
  • Developer Policies
  • Community Blog
  • Forum
  • Report a bug
  • Review Guide

Browsers

  • Desktop
  • Mobile
  • Enterprise

Products

  • Browsers
  • VPN
  • Relay
  • Monitor
  • Pocket
  • Bluesky (@firefox.com)
  • Instagram (Firefox)
  • YouTube (firefoxchannel)
  • Privacy
  • Cookies
  • Legal

Except where otherwise noted, content on this site is licensed under the Creative Commons Attribution Share-Alike License v3.0 or any later version.