如何将附加组件(.xpi)集成到我的自定义Firefox构建中? [英] How to integrate add-ons (.xpi) into my custom Firefox build?

查看:218
本文介绍了如何将附加组件(.xpi)集成到我的自定义Firefox构建中?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用官方指南在Windows机器上编译Firefox 44.0.2:简单的Firefox构建。我想集成一些自定义加载项到我的版本。加载项通常是 .xpi 文件。

如何做到这一点? 记录的方式来做到这一点是包括 .xpi 文件与目录中的分发:

[Firefox安装目录] /分发/扩展

然后将加载项安装在(复制到)每个配置文件的第一次使用该版本的Firefox与配置文件。每个配置文件中的扩展名副本将使用正常的自动更新程序自动更新。实际上,插件将被视为分别安装在每个配置文件中。

欲了解更多信息,请参阅:





这个答案是从我的答案复制到将插件集成到自定义的Firefox构建中。


I'm compiling Firefox 44.0.2 on my Windows machine using the official guidance: Simple Firefox build. I want to integrate some custom add-ons to my build. The add-ons are usually .xpi files.

How to do this?

解决方案

The documented way to do this is to include the .xpi file with the distribution in the directory:
[Firefox install directory]/distribution/extensions
The add-on will then be installed in (copied to) each profile upon the first use of that version of Firefox with the profile. The copy of the extension in each profile will be automatically updated using the normal auto-updating procedure. Effectively, the add-on will be treated as if separately installed in each profile. The user will not be asked to confirm installation of the add-on.

For more information see:

This answer was copied from my answer to Integrating an add-on into a custom Firefox build.

这篇关于如何将附加组件(.xpi)集成到我的自定义Firefox构建中?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆