搜尋 Mozilla 技術支援網站

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

了解更多

Firefox 'save picture as' function choses random directory

  • 2 回覆
  • 3 有這個問題
  • 24 次檢視
  • 最近回覆由 marlukan

more options

FF 57.0.2 (Win 7 64bit)

'Save Image As' keeps changing the location it's saving the file. As I'm going through various pages and saving certain images, I notice that sometimes it saves where I'm expecting it to, (the location I most recently selected while saving an image), but very often, in the same session (meaning I haven't closed and restarted FF), it decides to change the location to a directory I've used earlier, instead of where it just saved the previous file.

I thought it might be a scenario something like, I open tabs 1 - 5, save images to location A. Then I save a file to location B, open up pages 6 - 10, save a file to location A again. At this point I expect that my files will default to location A, but maybe pages 6 - 10 now have location B associated with them and they will default there instead. I just tested that and that's not it.

It's also not extension (ie .jpg, .gif) that forces the change of location. I can't figure out what triggers it.

FF 57.0.2 (Win 7 64bit) 'Save Image As' keeps changing the location it's saving the file. As I'm going through various pages and saving certain images, I notice that sometimes it saves where I'm expecting it to, (the location I most recently selected while saving an image), but very often, in the same session (meaning I haven't closed and restarted FF), it decides to change the location to a directory I've used earlier, instead of where it just saved the previous file. I thought it might be a scenario something like, I open tabs 1 - 5, save images to location A. Then I save a file to location B, open up pages 6 - 10, save a file to location A again. At this point I expect that my files will default to location A, but maybe pages 6 - 10 now have location B associated with them and they will default there instead. I just tested that and that's not it. It's also not extension (ie .jpg, .gif) that forces the change of location. I can't figure out what triggers it.

被選擇的解決方法

The last used directory for the website (host) serving the file for download will be preselected in the file picker. If no download directory for the current website (host) has been stored, browser.download.lastDir will be used.

You can disable the feature to remember a host based download directory by creating a new Boolean pref on the about:config page with the name browser.download.lastDir.savePerSite pref and set its value to false.

You can open the about:config page via the location/address bar. You can accept the warning and click "I accept the risk!" to continue.

從原來的回覆中察看解決方案 👍 2

所有回覆 (2)

more options

選擇的解決方法

The last used directory for the website (host) serving the file for download will be preselected in the file picker. If no download directory for the current website (host) has been stored, browser.download.lastDir will be used.

You can disable the feature to remember a host based download directory by creating a new Boolean pref on the about:config page with the name browser.download.lastDir.savePerSite pref and set its value to false.

You can open the about:config page via the location/address bar. You can accept the warning and click "I accept the risk!" to continue.

more options

First tests showed that that solution should have solved my problem. thank you !

Nevertheless Mozilla developers, this "store option" should be available in the common user's options menue.