AMO 自 2025-11-03 起要求新扩展声明数据收集,缺失直接拒收(lint 里是 notice, 上传时是硬错误)。按扩展实际行为如实声明: - required: browsingActivity —— 扩展用 history 权限把访问过的 URL、页面标题、 访问时间同步到用户自己的服务器(自建门户),属浏览活动数据 - optional: technicalAndInteraction —— 该项按规范只能放 optional 不涉及个人身份/位置/金融等,也不出售或传给第三方,故未列入。 web-ext lint 现为 0 errors / 0 notices / 0 warnings,版本升到 1.1.2。
47 lines
1.0 KiB
JSON
47 lines
1.0 KiB
JSON
{
|
|
"manifest_version": 2,
|
|
"name": "JianF Nav Sync",
|
|
"version": "1.1.2",
|
|
"description": "同步浏览历史到自建导航门户,按访问频次自动排序显示常用服务",
|
|
"browser_specific_settings": {
|
|
"gecko": {
|
|
"id": "nav-sync@jianf.local",
|
|
"strict_min_version": "102.0",
|
|
"data_collection_permissions": {
|
|
"required": ["browsingActivity"],
|
|
"optional": ["technicalAndInteraction"]
|
|
}
|
|
}
|
|
},
|
|
"permissions": [
|
|
"history",
|
|
"storage",
|
|
"alarms",
|
|
"<all_urls>"
|
|
],
|
|
"background": {
|
|
"scripts": [
|
|
"background.js"
|
|
],
|
|
"persistent": true
|
|
},
|
|
"browser_action": {
|
|
"default_title": "JianF Nav Sync 设置",
|
|
"default_popup": "options.html",
|
|
"default_icon": {
|
|
"16": "icons/icon16.png",
|
|
"48": "icons/icon48.png"
|
|
}
|
|
},
|
|
"options_ui": {
|
|
"page": "options.html",
|
|
"open_in_tab": true
|
|
},
|
|
"icons": {
|
|
"16": "icons/icon16.png",
|
|
"48": "icons/icon48.png",
|
|
"96": "icons/icon96.png",
|
|
"128": "icons/icon128.png"
|
|
}
|
|
}
|