永久安装个人Firefox Web扩展 [英] Install a personal firefox web extension permanently
问题描述
以前,我可以写一个供个人使用的插件,打包为something.xpi
,然后单击它进行安装.
Previously, I could write an addon for personal usage packed as something.xpi
and I clicked on it to install it.
过一会儿,mozilla推出了xpinstall.signatures.required
,您仍然可以解决它.
After a while, mozilla introduced xpinstall.signatures.required
which you could still get around it.
但是,它并没有停止刺杀有兴趣让自己与世隔绝的个人插件的开发人员.今天,只有web extensions
可用,而我基于XUL的插件被丢弃了.这些教程仅讨论临时安装Web扩展,而我希望我的扩展可以永远在firefox上运行.
However, it did not stop stabbing developers who are interested to have a personal addon isolated from the world. Today, only web extensions
are working and my XUL based addon is thrown away. The tutorials only talk about temporary installation of a web extension while I want my one runs on firefox forever.
除了我可以使用Web扩展名写入文件还是在独立页面中创建GUI之外,我还有一个更大的挑战:
Beside whether I can use web extension to write into files or create a GUI in an independent page, I have a bigger challenge:
如何在不创建供个人使用的Mozilla帐户的情况下永久地安装本地网络扩展程序?
How can I install a local web extension permanently without creating a Mozilla account for personal usage?
推荐答案
导航到扩展程序所在的文件夹.您可以使用web-ext以通常的方式构建它:
Navigate to the folder where your extension is located. You can build it in the usual way using web-ext:
web-ext build
您可以转到about:addons并将此文件拖到选项卡中,以在Firefox中永久安装此ZIP文件.
You can install this ZIP file permanently in Firefox by going to about:addons and dragging this file into the tab.
要使其正常工作,您需要在about:config中将xpinstall.signatures.required设置为false(仅适用于Nightly,甚至可能适用于Developer Edition).
In order for this to work, you need to set xpinstall.signatures.required to false in about:config (works only for Nightly and maybe Developer Edition).
这篇关于永久安装个人Firefox Web扩展的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!