Skip to content

兼容 Firefox MV3 规格 - pack.js#1480

Merged
CodFrm merged 3 commits into
mainfrom
fix/mv3-pack-js/002
May 29, 2026
Merged

兼容 Firefox MV3 规格 - pack.js#1480
CodFrm merged 3 commits into
mainfrom
fix/mv3-pack-js/002

Conversation

@cyfung1031
Copy link
Copy Markdown
Collaborator

忘记改 pack.js

@cyfung1031 cyfung1031 marked this pull request as ready for review May 28, 2026 19:36
@CodFrm CodFrm requested a review from Copilot May 29, 2026 02:12
Comment thread scripts/pack.js
Comment on lines +92 to +100
data_collection_permissions: {
required: [
"none", // 没有必须传送至第三方的资料。安装转页没有记录用户何时何地安装了什么。
],
optional: [
"authenticationInfo", // 使用 Cloud Backup / Import 时,有传送用户的资料至第三方作登入验证
"personallyIdentifyingInfo", // 使用 电邮 或 帐密 让第三方识别个人身份进行 Cloud Backup / Import
],
},
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这些不需要吧,至少不强制需要

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 年了。

Copy link
Copy Markdown
Member

@CodFrm CodFrm May 29, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

似乎是Firefox的管理页面设置?那我带上这个,下次发布新版本的时候我注意一下

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

它是自动读 manifest. firefoxMV2 已经有在做这个。只是 MV3 对齐一下。方便日后 Beta 版
只是自我申报

Screenshot 2026-05-29 at 17 42 58

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 的特殊打包逻辑。

Comment thread scripts/pack.js Outdated
cyfung1031 and others added 2 commits May 29, 2026 17:46
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@CodFrm CodFrm merged commit 7e428e9 into main May 29, 2026
4 checks passed
@CodFrm CodFrm deleted the fix/mv3-pack-js/002 branch May 29, 2026 14:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants