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!

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

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.

All Replies (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?