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

GitHub Fork Compare Fix by Nico

Makes GitHub compare/pull request links on your forks point at your own repository instead of upstream.

0 (0 reviews)0 (0 reviews)
Download Firefox and get the extension
Download file

Extension Metadata

Screenshots
About this extension
On a fork, GitHub points every compare and pull request link at the upstream repository — the Contribute menu, the "Compare & pull request" banner, and the "N commits ahead" link in the branch info bar. If you use your fork as a repository in its own right, that is the wrong target every single time, and opening a pull request against upstream by accident is far too easy.

This extension fixes that for the repositories you choose:

• Compare and pull request links point at your own repository, comparing your branch against your fork's own default branch.
• The branch info bar is restated against your default branch, so it reads exactly like a repository that is not a fork — with the real commit counts, not the ones relative to upstream.
• Links that mean the opposite (the "N commits behind" link) are left alone.
• Optionally redirects when an upstream compare page is already open.
• Enable a repository with one click from the toolbar, or list them as owner/repo or owner/* in the options page.

Repositories you have not enabled are untouched, so forks you genuinely contribute upstream from keep working exactly as before.

Privacy: no accounts, no tokens, no third-party requests, no telemetry. It reads github.com pages using your existing session and stores your list of repositories in extension storage. That is all.

Source code (GPL-3.0): https://github.com/D3SOX/gh-fork-compare-fix
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 data

Required permissions:

  • Access your data for github.com

Data collection:

  • The developer says this extension doesn't require data collection.
Learn more
More information
Add-on Links
  • Homepage
  • Support site
  • Support Email
  • Copy add-on ID
Version
1.0.2
Size
38.01 KB
Last updated
6 days ago (Aug 13, 2026)
Related Categories
  • Web Development
License
GNU General Public License v3.0 only
Privacy Policy
Read the privacy policy for this add-on
Version History
  • See all versions
Add to collection
Report this add-on
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

Download

  • Download Firefox
  • Windows
  • macOS
  • iOS
  • Android
  • Linux
  • All

Latest Builds

  • Nightly
  • Beta

Firefox for Business

  • Enterprise

Community

  • Connect
  • Contribute
  • Developer

Follow

  • Instagram
  • YouTube
  • TikTok
  • Bluesky
  • Podcast
  • 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.