We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

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

搜索 | 用户支持

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

详细了解

Settings for allowed add-ons downloads site list not saved.

  • 8 个回答
  • 2 人有此问题
  • 1 次查看
  • 最后回复者为 FredMcD

more options

Under about:preferences#security, you can choose what sites can download add-ons without you needing to allow it thru the Exceptions button by Warn Me When Sites Try To Install Add-ons

The defaults are; marketplace.firefox.com and addons.mozilla.org

But every time Firefox is restarted, this list is deleted. Even resetting Firefox does not fix this. I deleted the prefs.js file, but no joy. I checked, and found this enter in the file, but it will not display when Firefox is started.

dom.mozApps.signed_apps_installable_from;https://marketplace.firefox.com

I even downgraded from Firefox 34.0.5 to 33.1.1 but the issue is still there.

As far as I can tell, this is the only setting that is having trouble.

Under '''about:preferences#security''', you can choose what sites can download add-ons without you needing to allow it thru the '''Exceptions''' button by '''Warn Me When Sites Try To Install Add-ons''' The defaults are; '''marketplace.firefox.com''' and '''addons.mozilla.org''' But every time Firefox is restarted, this list is deleted. Even resetting Firefox does not fix this. I deleted the '''prefs.js''' file, but no joy. I checked, and found this enter in the file, but it will not display when Firefox is started. '''dom.mozApps.signed_apps_installable_from;https://marketplace.firefox.com''' I even downgraded from Firefox 34.0.5 to 33.1.1 but the issue is still there. As far as I can tell, this is the only setting that is having trouble.

由FredMcD于修改

被采纳的解决方案

The whitelist prefs shouldn't have the protocol, but only the name as you can see if you would reset the prefs. The http exception that shows in the one of the screenshots is the result of the presence of the protocol.

Try to rename (or delete) the permissions.sqlite file in the Firefox profile folder. You can also check the file with the SQLite Manager extension.

定位到答案原位置 👍 0

所有回复 (8)

more options

In case you are using "Clear history when Firefox closes" or otherwise clear history:

  • do not clear the Site Preferences

Clearing "Site Preferences" clears all exceptions for cookies, images, pop-up windows, software installation, passwords, and other website specific data.

Note that you can reset these prefs on the about:config page to restore the default software exceptions for installing extensions and the market place xpinstall.whitelist.add (addons.mozilla.org) xpinstall.whitelist.add.180 (marketplace.firefox.com)

If these prefs do not exist or are an empty string when you open the exception window then the corresponding default entry is recreated automatically. Tools > Options > Security : "Warn me when sites try to install add-ons": Exceptions

You can create xpinstall.whitelist.add.* and xpinstall.blacklist.add.* prefs to automatically create exceptions for specific domains. You can specify multiple hosts by separating them with a comma (,). Also works with a user.js file. You need to open the exception window to make Firefox process the pref(s) and set the pref(s) to an empty string.

  • Tools > Options > Security : "Warn me when sites try to install add-ons": Exceptions
  • user_pref("xpinstall.whitelist.add.abc", "abc.com,<another domain>");
  • user_pref("xpinstall.blacklist.add.abc", "abc.com,<another domain>");
more options

Clear history when Firefox closes The setting is on, but only the Fire IE is selected

recreated automatically. "Warn me when sites try to install add-ons": Exceptions I have repeatedly entered the information, but it does not stay saved.

reset these prefs on the about:config page I have followed your instructions;

more options

I restarted Firefox, and this is what I found; Note: Settings Guard was disabled.

I will try the user.js file.suggestion next.

more options

I tried the user.js file.suggestion. Here are the results; 1 Open User.js 2 Added the data, saved file. Reopen to confirm save 3 Open Firefox 4 Entered data in "Warn me when sites" exceptions

由FredMcD于修改

more options

4 Closed, then reopened FF. All these settings: GONE  :-/

more options

选择的解决方案

The whitelist prefs shouldn't have the protocol, but only the name as you can see if you would reset the prefs. The http exception that shows in the one of the screenshots is the result of the presence of the protocol.

Try to rename (or delete) the permissions.sqlite file in the Firefox profile folder. You can also check the file with the SQLite Manager extension.

more options

Thanks, Cor-el. I looked at the SQLite Manager extension, but was not sure I could understand it. I may look at it later.

I looked at the permissions.sqlite file using a viewer. It looked like a cross of my history and bookmarks. I renamed the file. I then added Mozilla.org to the exception list. I closed and reopened FF several times, and so far the exception is still there. Here is hoping.

Many thanks for your help.

more options

So far, so good. I have now re-upgraded to v34.0.5, and everything is still good. Once again, many thanks.