搜尋 Mozilla 技術支援網站

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

Learn More

Why is Firefox changing the file extensions of certain files when I download them?

  • 無回覆
  • 1 有這個問題
more options

I've been noticing this problem particularly when downloading .java files. If I choose to open the file instead of saving it, Firefox will rename the file from foo.java to foo.java.txt before loading it in my editor - I assume this is related to MIME types, but how do I fix it? Just because it's a plain text file doesn't mean the extension should be txt....