搜尋 Mozilla 技術支援網站

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

了解更多

Is 'browser.download.lastDir.savePerSite' removed from Firefox 66?

more options

I download new product photos from many wholesale pages. Every month I use different download folder, like "2019 04". Pictures are often misplaced to older folders, because Firefox remembers old folder per site. I do saving with keyboard shortcuts so quickly that eyes can't registrate wrong folder :) And for instance "2019 03" and "2019 04" look very same.

I download new product photos from many wholesale pages. Every month I use different download folder, like "2019 04". Pictures are often misplaced to older folders, because Firefox remembers old folder per site. I do saving with keyboard shortcuts so quickly that eyes can't registrate wrong folder :) And for instance "2019 03" and "2019 04" look very same.

所有回覆 (1)

more options

In looking at the description in the source code, it's possible that setting

browser.download.lastDir.savePerSite => false

works going forward but doesn't clear directories for servers you downloaded from before.

I don't know whether there is a way to clear out the database entries related to previous downloads without dumping some other data -- these are all stored together:

  • last upload directory per site
  • last download directly per site
  • last custom zoom level per site
  • last modified spellcheck language per site

If you don't need that other stuff:

Open your current Firefox settings (AKA Firefox profile) folder using either

  • "3-bar" menu button > "?" Help > Troubleshooting Information
  • (menu bar) Help > Troubleshooting Information
  • type or paste about:support in the address bar and press Enter

In the first table on the page, on the Profile Folder row, click the "Open Folder" button. This should launch a new window listing various files and folders in File Explorer.

Leaving that window open, switch back to Firefox and Exit, either:

  • "3-bar" menu button > Exit
  • (menu bar) File > Exit

Pause while Firefox finishes its cleanup, then rename content-prefs.sqlite to something like content-prefsOLD.sqlite.

Start Firefox back up again, and it should create a new empty database to start collecting data going forward.

Any improvement with your download directory situation?