Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

搜索 | 用户支持

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

Learn More

How do I turn off per-site remembering of download directory when creating "browser.download.lastDir.savePerSite" doesn't work?

  • 3 个回答
  • 5 人有此问题
  • 2 次查看
  • 最后回复者为 cor-el

more options

I have already tried creating "browser.download.lastDir.savePerSite" and setting the boolean value to false. Unfortunately, Firefox continues to remember the download directory. I'm using version 38.0.5

I have already tried creating "browser.download.lastDir.savePerSite" and setting the boolean value to false. Unfortunately, Firefox continues to remember the download directory. I'm using version 38.0.5

所有回复 (3)

more options

You can delete the content-prefs.sqlite file in the Profile Folder to only remove settings stored in this file. That way you keep exceptions stored in permissions.sqlite that would get lost if you clear the "Site Preferences" via Clear Recent History.

You can use this button to go to the currently used Firefox profile folder:


more options

Thanks for the response. So my only option is to delete this file after closing out of firefox? There's no way to simply remove the ability to save the per-site location in the first place?

more options

If you have visited a website before then it is likely that Firefox has stored some folders in the past and may still be using them despite having created the browser.download.lastDir.savePerSite pref. If that is the case then you need to reset all stored settings. You can do that by clearing the Site Preferences, but that will also remove all permissions that are stored in permissions.sqlite. Deleting content-prefs.sqlite will only remove data that is stored in this file.

Clearing "Site Preferences" clears all exceptions for cookies, images, pop-up windows, software installation (permissions.sqlite), and passwords (logins.json), and other website specific data (content-prefs.sqlite).