Files
wechatsync/packages/extension/manifest.json
T
personal82555 10c7dc0559 init: WechatSync 扩展 v2.1.3(公众号多账号保活 + 常开桥接)
- ✨ 公众号多账号保持在线:DNR 注入 Cookie 定时保活,多号互不干扰
- ✨ 公众号在线管理页(添加/检测/间隔/同步目标账号)
- ✨ 同步桥接始终连接、默认开启且锁定不可关闭
- ✨ 内置默认桥接地址 ws://192.168.68.19:9600 与服务端 Token(开箱即连)
- ✨ 独立窗口打开扩展(常驻保持,不随点击关闭)
- 🐛 桥接服务端区分扩展/观察者,修复 Hermes MCP 抢占扩展槽位
- 🐛 MCP 适配器按请求 id 分发响应,修复响应被读循环吞掉
2026-10-23 18:38:40 +08:00

99 lines
2.0 KiB
JSON

{
"manifest_version": 3,
"name": "文章同步助手",
"description": "一键同步文章到知乎、头条、掘金等 20+ 平台,支持公众号多账号保持在线",
"version": "2.1.3",
"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>"
]
}
]
}