GitHub — View File Before Commit

Adds "View file before commit" to GitHub's "View file" menu on commit pages, linking to the previous revision of that file (if any). This is useful to trace code chunks when they are moved between files. Uses a MutationObserver and fetches the per-file commits page to find the previous SHA.

Author
jwbth
Daily installs
0
Total installs
1
Ratings
0 0 0
Version
0.1
Created
2025-09-08
Updated
2025-09-08
Size
9.1 KB
License
MIT
Applies to