為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

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).