GitHub has no easy way to access the very useful diff / compare page. This extension adds the button (in the GH design language) to help you access it easily.
To install this extension,
- Clone this repo
- Go to about:debugging#/runtime/this-firefox
- Click on
Load Temporary Add-on... - Select any file from this repo
- You're done. Check your repo page.
- Adds a "Compare SHA" button to the top row of the repository navigation.
- Enter just a SHA (e.g.
abc123) to compare againstmain. - Enter a SHA and branch (e.g.
abc123 master) to compare against a different branch. - The compare will always be repository specific.
This extension was 99% generated by Claude.