- 设置内容(同步桥接/悬浮按钮/自建站点/历史入口)从抽屉移出,直接铺在首页 - 删除首页「谢谢支持」分享横幅与 GitHub/分享文案 - 顶栏移除「设置」按钮,设置抽屉组件一并删除
99 lines
2.0 KiB
JSON
99 lines
2.0 KiB
JSON
{
|
|
"manifest_version": 3,
|
|
"name": "文章同步助手",
|
|
"description": "一键同步文章到知乎、头条、掘金等 20+ 平台,支持公众号多账号保持在线",
|
|
"version": "2.1.4",
|
|
"icons": {
|
|
"16": "assets/icon-16.png",
|
|
"48": "assets/icon-48.png",
|
|
"128": "assets/icon-128.png"
|
|
},
|
|
"action": {
|
|
"default_icon": "assets/icon-48.png",
|
|
"default_popup": "src/popup/index.html"
|
|
},
|
|
"permissions": [
|
|
"storage",
|
|
"unlimitedStorage",
|
|
"cookies",
|
|
"declarativeNetRequest",
|
|
"declarativeNetRequestWithHostAccess",
|
|
"scripting",
|
|
"tabs",
|
|
"alarms",
|
|
"contextMenus",
|
|
"downloads"
|
|
],
|
|
"host_permissions": [
|
|
"http://*/*",
|
|
"https://*/*"
|
|
],
|
|
"background": {
|
|
"service_worker": "src/background/index.ts",
|
|
"type": "module"
|
|
},
|
|
"content_scripts": [
|
|
{
|
|
"matches": [
|
|
"http://*/*",
|
|
"https://*/*"
|
|
],
|
|
"js": [
|
|
"src/content/api.ts"
|
|
],
|
|
"run_at": "document_start",
|
|
"all_frames": true
|
|
},
|
|
{
|
|
"matches": [
|
|
"https://mp.weixin.qq.com/s/*",
|
|
"https://mp.weixin.qq.com/s?*"
|
|
],
|
|
"js": [
|
|
"src/content/weixin.ts"
|
|
],
|
|
"run_at": "document_end"
|
|
},
|
|
{
|
|
"matches": [
|
|
"https://mp.weixin.qq.com/cgi-bin/appmsg*"
|
|
],
|
|
"js": [
|
|
"src/content/weixin-editor.ts"
|
|
],
|
|
"run_at": "document_end"
|
|
},
|
|
{
|
|
"matches": [
|
|
"https://mp.toutiao.com/*"
|
|
],
|
|
"js": [
|
|
"src/content/toutiao.ts"
|
|
],
|
|
"run_at": "document_end"
|
|
},
|
|
{
|
|
"matches": [
|
|
"http://*/*",
|
|
"https://*/*"
|
|
],
|
|
"js": [
|
|
"src/content/extractor.ts"
|
|
],
|
|
"run_at": "document_end"
|
|
}
|
|
],
|
|
"web_accessible_resources": [
|
|
{
|
|
"resources": [
|
|
"assets/*",
|
|
"src/editor/index.html",
|
|
"src/sync-dialog/index.html",
|
|
"inject-api.js"
|
|
],
|
|
"matches": [
|
|
"<all_urls>"
|
|
]
|
|
}
|
|
]
|
|
} |