Firefox MV3 #1330
Replies: 5 comments 14 replies
This comment has been hidden.
This comment has been hidden.
-
|
@CodFrm https://bugzilla.mozilla.org/show_bug.cgi?id=1685123 原因是,Firefox团队最初让 eval 在MV3完全禁止让扩充变得安全的想法,被 executeScript 这个API打破了缺口,因此Firefox整个团队的想法是舍弃 executeScript, 而倒过来为了扩充能使用 自定义代码, 会重新在MV3实现 sandbox 现在最新版是 151.0a1 (2026-04-06) 应该今年内就会补回 sandbox, 然后 Firefox那边也可以踏入 MV3 时代了 |
Beta Was this translation helpful? Give feedback.
-
|
https://blog.mozilla.org/addons/2026/04/23/webextensions-api-changes-firefox-149-152/ 未提及 Firefox MV3 sandbox 支持的时间表 |
Beta Was this translation helpful? Give feedback.
This comment has been hidden.
This comment has been hidden.
-
Issue - No sandbox support -> Cannot do background scripthttps://bugzilla.mozilla.org/show_bug.cgi?id=1685123 https://bugzilla.mozilla.org/show_bug.cgi?id=1896824#c4 https://bugzilla.mozilla.org/showdependencygraph.cgi?id=1685123 https://bugzilla.mozilla.org/show_bug.cgi?id=1443253 Sandbox issue (might also need #1347 )
|
Beta Was this translation helpful? Give feedback.

Uh oh!
There was an error while loading. Please reload this page.
-
Firefox MV3 不支持在 扩充页面进行
eval/new Function查过很多资料和方法。没有任何可行的做法
除非打开一个网络的沙盒页
当作一般页面的脚本注入,在里面跑代码
Beta Was this translation helpful? Give feedback.
All reactions