GitHub — View File Before Commit

Adds "View file before commit" to GitHub's "View file" menu on commit pages, linking to the previous commit 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.

Från och med 2025-09-08. Se den senaste versionen.

Detta är versioner av skriptet där koden uppdaterats. Visa alla versioner.

长期地址
遇到问题?请前往 GitHub 提 Issues。