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

搜尋 Mozilla 技術支援網站

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

了解更多

Always save .jpg file

  • 3 回覆
  • 1 有這個問題
  • 1 次檢視
  • 最近回覆由 cor-el

more options

When I download almost any type of file, Firefox nicely asks whether I would like to always save the file, or always open it with some program. But for .jpg files, it makes a blanket, hard-coded assumption that I do not want to preserve my choice. I cannot add .jpg to the list of actions in the preferences. The authors of the browser forcibly mandate that a .jpg download must go to a popup, and the user's preferred action cannot be maintained internally.

This is a mistake. I realize someone thought it was a very rational idea. it is not. This is a bug.

How can I work around this mistake in the Firefox design?

When I download almost any type of file, Firefox nicely asks whether I would like to always save the file, or always open it with some program. But for .jpg files, it makes a blanket, hard-coded assumption that I do not want to preserve my choice. I cannot add .jpg to the list of actions in the preferences. The authors of the browser forcibly mandate that a .jpg download must go to a popup, and the user's preferred action cannot be maintained internally. This is a mistake. I realize someone thought it was a very rational idea. it is not. This is a bug. How can I work around this mistake in the Firefox design?

所有回覆 (3)

more options

JPG files would normally be opened in a browser tab when send with an image content type like image/jpg or image/png that browsers can handle internally. If the image is send with another content type then this would likely be a generic content tpe like "application/octet-stream" or "content-disposition:attachment" what would trigger a download dialog and not an 'open with' dialog. An automatic download action can only be set for a valid MIME type and this would be hard for an image.

more options

Your Firefox version is unsupported now. Please check for updates.

more options

You appear to be using Firefox from the Fedora repositories, so you may need to switch to Firefox from the Mozilla server.

Make sure you meet the requirements.