搜尋 Mozilla 技術支援網站

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

Learn More

Always save .jpg file

  • 3 回覆
  • 1 有這個問題
  • 7 次檢視
  • 最近回覆由 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?

所有回覆 (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.

有幫助嗎?

問個問題

如果您還沒有帳號,您必須先 登入您的帳號 來回覆文章。請 開始一個新問題