Inspect and view changes in Patchtree — pretty diffs & code review source codes across current and past versions
Try xHeader →
Please login to examine the extension's source code.
manifest.json
{
"manifest_version": 3,
"name": "patchtree",
"version": "1.3.0",
"description": "Render raw .diff/.patch pages as a colored diff with tree-sitter syntax highlighting",
"background": {
"scripts": [
"background.js"
],
"type": "module"
},
"icons": {
"16": "assets/icons/icon16.png",
"48": "assets/icons/icon48.png",
"128": "assets/icons/icon128.png"
},
"action": {
"default_title": "Open pretty diff",
"default_icon": {
"16": "assets/icons/icon16.png",
"48": "assets/icons/icon48.png",
"128": "assets/icons/icon128.png"
}
},
"permissions": [
"storage",
"activeTab"
],
"host_permissions": [
"https://api.github.com/*",
"https://github.com/*",
"https://raw.githubusercontent.com/*",
"https://patch-diff.githubusercontent.com/*"
],
"web_accessible_resources": [
{
"resources": [
"assets/fonts/*",
"assets/themes.json"
],
"matches": [
"<all_urls>"
]
}
],
"content_scripts": [
{
"matches": [
"*://*/*.diff",
"*://*/*.patch",
"file:///*.diff",
"file:///*.patch"
],
"js": [
"content.js"
],
"css": [
"assets/viewer.css"
],
"run_at": "document_idle"
}
],
"content_security_policy": {
"extension_pages": "script-src 'self' 'wasm-unsafe-eval'; object-src 'self'"
},
"browser_specific_settings": {
"gecko": {
"id": "patchtree@danilrwx.github.io",
"strict_min_version": "128.0",
"data_collection_permissions": {
"required": [
"none"
]
}
}
}
} 最佳 Patchtree — pretty diffs & code review 替代方案
这里是一些与Patchtree — pretty diffs & code review类似的Firefox add-on:
FFDiff
Daniel Voros
GitSniper
GitSniper
GitHub Diff Explorer
Alex D
diffs.dev
Jason Penilla
MergEase
MergEase
Mighty GitHub PRs
Adam Graf
Refined Bitbucket
Ronald Rey
Patch Viewer
simulacrumparty
GitHub CR Toolbox
Sean McPherson
PR Sidebar
dannash
GitHub Collapse-Diffs Button
verfehlix
Toggle GitHub Details
GeiserX