兼容 Firefox MV3 规格 - pack.js#1480
Merged
Merged
Conversation
CodFrm
reviewed
May 29, 2026
Comment on lines
+92
to
+100
| data_collection_permissions: { | ||
| required: [ | ||
| "none", // 没有必须传送至第三方的资料。安装转页没有记录用户何时何地安装了什么。 | ||
| ], | ||
| optional: [ | ||
| "authenticationInfo", // 使用 Cloud Backup / Import 时,有传送用户的资料至第三方作登入验证 | ||
| "personallyIdentifyingInfo", // 使用 电邮 或 帐密 让第三方识别个人身份进行 Cloud Backup / Import | ||
| ], | ||
| }, |
Collaborator
Author
There was a problem hiding this comment.
Firefox addons上架強制
跟隨mv2
https://extensionworkshop.com/documentation/develop/firefox-builtin-data-consent/
New versions and updates for add-ons created before November 3 don’t need to use this feature, but will have to at a later date.
現在是2026 年了。
Member
There was a problem hiding this comment.
似乎是Firefox的管理页面设置?那我带上这个,下次发布新版本的时候我注意一下
Collaborator
Author
Contributor
There was a problem hiding this comment.
Pull request overview
此 PR 调整 scripts/pack.js 中 Firefox MV3 打包时的 manifest 生成逻辑,补充 Firefox 数据收集声明,并简化 Firefox 包内 ts.worker.js 的处理。
Changes:
- 为 Firefox manifest 添加
data_collection_permissions。 - 尝试移除 Firefox 不兼容的
background权限。 - 取消将
ts.worker.js重命名为.gz的特殊打包逻辑。
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

忘记改 pack.js