2017年5月13日星期六

Firefox常用

稳定版下载地址:http://www.mozilla.org/en-US/firefox/all/
ESR版下载地址:https://www.mozilla.org/en-US/firefox/organizations/all/


禁用Firefox插件签名要求

先创建一个config.js文件
//
 try {
 Components.utils.import("resource://gre/modules/addons/XPIProvider.jsm", {})
 .eval("SIGNED_TYPES.clear()");
 }
 catch(ex) {}

之后保存文件。
右键单击它,然后选择重命名。
将其命名为config.js。确保它被称为config.js而不是config.js.txt。
移动Firefox安装文件夹中的config.js文件。
On Windows, this is either C:\Program Files\Mozilla Firefox\ or C:\Program Files (x86)\Mozilla Firefox\.
On Linux, it is /usr/lib/firefox- or /usr/lib64/firefox-
On Mac, it is /Applications/Firefox.app/Contents/Resources 中存放config.js

步骤2:创建config-prefs.js

MAC存放地址 /Applications/Firefox.app/Contents/Resources/defaults/pref 中存放config-prefs.js

在桌面上创建第二个文本文档,然后在编辑器中打开它。
将以下行粘贴到其中:
pref("general.config.obscure_value", 0);
pref("general.config.filename", "config.js");


将文件重命名为config-prefs.js。
将文件移动到Firefox程序文件夹的默认\ pref文件夹,例如C:\ Program Files \ Mozilla Firefox \ defaults \ pref
重新启动Firefox。

步骤3:在Firefox Stable或Beta中安装未签名的加载项。

一旦完成,您可能会像以前一样在Firefox Stable或Beta中重新安装任何附加组件,签名或未签名。

转载:https://www.ghacks.net/2016/08/14/override-firefox-add-on-signing-requirement/

没有评论:

发表评论