为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

Do I take a performance hit if I use firefox dev build?

  • 6 个回答
  • 0 人有此问题
  • 1 次查看
  • 最后回复者为 TyDraniu

more options

Hi!

I want to use my own unsigned addon with my daily browsing. But I found out that firefox hates it's user base by making xpinstall.signatures.required option in about:config only available to dev builds.

If I use firefox dev build will I loose on performance? For example is it compiled with debug symbols that slow down code execution? And if so, is it somehow possible to get the release version of firefox where xpinstall.signatures.required is set false so that I would not loose because of dev build?

Hi! I want to use my own unsigned addon with my daily browsing. But I found out that firefox hates it's user base by making xpinstall.signatures.required option in about:config only available to dev builds. If I use firefox dev build will I loose on performance? For example is it compiled with debug symbols that slow down code execution? And if so, is it somehow possible to get the release version of firefox where xpinstall.signatures.required is set false so that I would not loose because of dev build?

所有回复 (6)

more options

1. You can sign your addon for a private use. 2. You can use dev or nightly branch with a fresh profile and sync your data using the Firefox account. You shouldn't notice any perf loss.

more options

I have that preference in regular Firefox 104.0.2 and have made it false.

more options

TyDraniu said

1. You can sign your addon for a private use. 2. You can use dev or nightly branch with a fresh profile and sync your data using the Firefox account. You shouldn't notice any perf loss.

1. If I sign it myself then I can use it without dev build? And then I don't have re-install it for each use? Once I install it stays installed forever? 2. Do I need fresh profile? Can I link it against existing profile?

Terry said

I have that preference in regular Firefox 104.0.2 and have made it false.

How exactly did you make it false? You can set it from about:config but it won't have effect.

If you look into C:\Program Files\Mozilla Firefox\omni.ja\modules\addons\AddonSettings.jsm it has code: if (AppConstants.MOZ_REQUIRE_SIGNING && !Cu.isInAutomation) {

 makeConstant("REQUIRE_SIGNING", true);

which overrides xpinstall.signatures.required value with hardcoded true.

more options

fdoywugozklvsndgax said

1. If I sign it myself then I can use it without dev build? And then I don't have re-install it for each use? Once I install it stays installed forever? 2. Do I need fresh profile? Can I link it against existing profile?

Yes, you can use your signed addon with the release build in existing profile as every other addon.

You can learn more about these options by reading Add-on Distribution and Signing on Firefox Extension Workshop.

more options

How exactly do I self sign it without submitting it to FF team for code review and without using this web-ext tool (because I don't want to install node for that)?

I found this tutorial. https://addons-server.readthedocs.io/en/latest/topics/api/signing.html

It talks something about guid but link to explanation is broken https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/Install_Manifests#id

How do get that guid? And how do I get that <jwt-token>?

more options

You can ask addon-specific questions on https://discourse.mozilla.org/c/add-ons/development/108

But I really don't think that they waste resources on human review of so called self-distributed addons.