haixunMaster/extension/haixun-threads-sync/manifest.json

55 lines
1.5 KiB
JSON
Raw Normal View History

2026-06-21 12:50:31 +00:00
{
"manifest_version": 3,
"name": "巡樓 Threads Session 同步",
2026-06-23 16:55:10 +00:00
"version": "1.1.1",
2026-06-21 12:50:31 +00:00
"description": "從 Chrome 已登入的 Threads 一鍵同步 session 到巡樓 server",
"permissions": ["cookies", "storage", "tabs", "scripting"],
"host_permissions": [
"https://www.threads.com/*",
"https://threads.com/*",
"https://www.threads.net/*",
"https://www.instagram.com/*",
"https://instagram.com/*",
"https://*.facebook.com/*",
"http://localhost:3000/*",
2026-06-23 16:55:10 +00:00
"http://127.0.0.1:3000/*",
"http://localhost:4173/*",
"http://127.0.0.1:4173/*",
"http://localhost:5173/*",
"http://127.0.0.1:5173/*",
"http://localhost:8890/*",
"http://127.0.0.1:8890/*"
2026-06-21 12:50:31 +00:00
],
"optional_host_permissions": ["http://*/*", "https://*/*"],
"action": {
"default_popup": "popup.html",
"default_title": "同步 Threads Session"
},
"background": {
"service_worker": "service-worker.js",
"type": "module"
},
2026-06-23 16:55:10 +00:00
"content_scripts": [
{
"matches": [
"http://localhost:3000/*",
"http://127.0.0.1:3000/*",
"http://localhost:4173/*",
"http://127.0.0.1:4173/*",
"http://localhost:5173/*",
"http://127.0.0.1:5173/*",
"http://localhost:8890/*",
"http://127.0.0.1:8890/*"
],
"js": ["content-haixun.js"],
"run_at": "document_start"
}
],
"web_accessible_resources": [
{
"resources": ["content-haixun.js"],
"matches": ["http://*/*", "https://*/*"]
}
],
2026-06-21 12:50:31 +00:00
"options_page": "options.html"
}