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.

اعتبارا من 08-09-2025. شاهد أحدث إصدار.

لم يتم نشر أي مناقشات حتى الآن.

Post a review, comment, or question

If you think this script is breaking Greasy Fork镜像's rules, please report it for removal.

قم بتسجيل الدخول لنشر مراجعة أو تعليق أو سؤال.

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