提供元: Keith
Inspect and view changes in Documentation Reader source codes across current and past versions
Please login to examine the extension's source code.
manifest.json
{
"manifest_version": 3,
"name": "Documentation Reader",
"version": "1.0.0",
"description": "Clean, distraction-free documentation reading with TOC, adjustable fonts, and themes",
"browser_specific_settings": {
"gecko": {
"id": "doc-reader@example.com",
"data_collection_permissions": {
"required": [
"none"
]
}
}
},
"permissions": [
"activeTab",
"storage",
"scripting"
],
"action": {
"default_popup": "popup/popup.html",
"default_icon": {
"16": "icons/icon-16.png",
"48": "icons/icon-48.png",
"128": "icons/icon-128.png"
}
},
"icons": {
"16": "icons/icon-16.png",
"48": "icons/icon-48.png",
"128": "icons/icon-128.png"
},
"content_scripts": [
{
"matches": [
"<all_urls>"
],
"js": [
"content/toc-extractor.js",
"content/reader.js"
],
"css": [
"content/reader.css"
],
"run_at": "document_idle"
}
],
"background": {
"scripts": [
"background/background.js"
]
},
"commands": {
"toggle-reader-mode": {
"suggested_key": {
"default": "Ctrl+Shift+R"
},
"description": "Toggle reading mode"
},
"toggle-toc": {
"suggested_key": {
"default": "Ctrl+Shift+T"
},
"description": "Toggle table of contents"
},
"decrease-font": {
"suggested_key": {
"default": "Ctrl+Shift+Comma"
},
"description": "Decrease font size"
},
"increase-font": {
"suggested_key": {
"default": "Ctrl+Shift+Period"
},
"description": "Increase font size"
},
"toggle-theme": {
"suggested_key": {
"default": "Ctrl+Shift+D"
},
"description": "Toggle dark mode"
}
}
} ベストのDocumentation Reader代替案
Documentation Readerに類似したFirefox add-onをいくつか紹介します: