- 实现网页内容提取并导出为Markdown文件 - 支持自动识别和手动选择区域两种提取模式 - 使用Mozilla Readability算法提取页面主要内容 - 使用Turndown将HTML转换为Markdown - React + Vite + TypeScript 技术栈 - 支持图片URL保留、复制到剪贴板、直接下载 Co-Authored-By: Claude <noreply@anthropic.com>
40 lines
854 B
JSON
40 lines
854 B
JSON
{
|
|
"manifest_version": 3,
|
|
"name": "ReadMD - 网页转Markdown",
|
|
"version": "1.0.0",
|
|
"description": "将网页内容提取并导出为Markdown文件",
|
|
"permissions": [
|
|
"activeTab",
|
|
"storage",
|
|
"downloads"
|
|
],
|
|
"host_permissions": [
|
|
"<all_urls>"
|
|
],
|
|
"action": {
|
|
"default_popup": "src/popup/index.html",
|
|
"default_icon": {
|
|
"16": "icons/icon16.svg",
|
|
"48": "icons/icon48.svg",
|
|
"128": "icons/icon128.svg"
|
|
}
|
|
},
|
|
"background": {
|
|
"service_worker": "src/background/index.ts",
|
|
"type": "module"
|
|
},
|
|
"content_scripts": [
|
|
{
|
|
"matches": ["<all_urls>"],
|
|
"js": ["src/content/index.ts"],
|
|
"run_at": "document_idle"
|
|
}
|
|
],
|
|
"options_page": "src/options/index.html",
|
|
"icons": {
|
|
"16": "icons/icon16.svg",
|
|
"48": "icons/icon48.svg",
|
|
"128": "icons/icon128.svg"
|
|
}
|
|
}
|