Chrome extension that fixes an annoying GitHub behavior: clicking a username on a commit page takes you to that user's profile instead of their commits on that specific repo.
On GitHub commit pages, clicking a commit author's name navigates to:
github.com/org/repo/commits?author=username
This extension rewrites those links to go to:
github.com/username
- Clone this repo
- Open
chrome://extensions/ - Enable Developer mode (top right toggle)
- Click Load unpacked
- Select this directory
- Navigate to any GitHub commits page and click an author name
A content script runs on all github.com pages and rewrites any <a> tag whose href matches the commits?author= pattern. A MutationObserver handles GitHub's Turbo-powered SPA navigation so links are rewritten on dynamic page changes too.