Mozilla サポートの検索

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

このスレッドはアーカイブに保管されました。 必要であれば新たに質問してください。

Firefox saves webpages as .htm instead of .html

  • 2 件の返信
  • 2 人がこの問題に困っています
  • 76 回表示
  • 最後の返信者: RandomAccount

more options

Hi.

Firefox saves webpages with extension ".htm" instead of ".html". It is not very important but I prefer to have ".html" extensions, how can I change it?

It may be linked to this extension (https://addons.mozilla.org/en-US/firefox/addon/mozilla-archive-format/) since I installed and uninstalled it recently. I use archlinux.

Hi. Firefox saves webpages with extension ".htm" instead of ".html". It is not very important but I prefer to have ".html" extensions, how can I change it? It may be linked to this extension (https://addons.mozilla.org/en-US/firefox/addon/mozilla-archive-format/) since I installed and uninstalled it recently. I use archlinux.

選ばれた解決策

I found it at last! I was about to surrender, and noticed a file "/etc/mime.types". In that file there is a line "text/html", some tabs, and "htm html shtml". I changed it to "html htm shtml" and now it works.

この回答をすべて読む 👍 3

すべての返信 (2)

more options

I think I found the code responsible for that behavior: https://dxr.mozilla.org/mozilla-central/source/toolkit/content/contentAreaUtils.js (line 635).

Am I right? How can I modify that on my computer? (I don't find the file on my computer.)

edit: No, I was wrong.

この投稿は RandomAccount により に変更されました

more options

選ばれた解決策

I found it at last! I was about to surrender, and noticed a file "/etc/mime.types". In that file there is a line "text/html", some tabs, and "htm html shtml". I changed it to "html htm shtml" and now it works.