搜尋 Mozilla 技術支援網站

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

Learn More

Firefox adds .jpg to .png image downloads

  • 4 回覆
  • 1 有這個問題
  • 7 次檢視
  • 最近回覆由 MathU41

more options

Just what it says. I mean, it's usually not a huge problem, but saving things as .jpg affects some features and makes things a jumble when I end up with things saved as 'image.png.jpg'

Just what it says. I mean, it's usually not a huge problem, but saving things as .jpg affects some features and makes things a jumble when I end up with things saved as 'image.png.jpg'

所有回覆 (4)

more options

Hello MathU41,

I wasn't able to duplicate your problem but you could set Windows explorer to Show extensions for known file types. Then, the Save As dialog will show the file type in the Save As Type field.

Maybe it will help figure out where this is coming from.

more options

Huh... Testing with the avatar here doesn't cause the problem. From Twitter and Tumblr, it still tries to add .jpg--and .png isn't in the dropdown (which is blank if known file types are hidden)--but as least I can delete the '.jpg'. Maybe somewhere in the cookies or temp files.

more options

You can check the handlers.json file in the profile folder for references to .jpg

You can inspect the MIME database key with the registry editor (regedit.exe) and do a search for that MIME type (file extension) via Ctrl+F. Be cautious with editing the registry as there is NO UNDO possible: all changes are applied immediately. You can export key(s) in the registry editor before making changes. You can check specific file extension keys (e.g. .jpg) in the registry with the registry editor.

  • HKEY_CLASSES_ROOT\.xxx

You can check a possibly linked MIME type in the MIME Database registry key.

  • HKEY_CLASSES_ROOT\MIME\Database\Content Type\
more options

Useful to know. Didn't see anything that seems unusual through regedit, though, and there don't seem to be any references to either png or jpg in handlers.json.