We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

ค้นหาฝ่ายสนับสนุน

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.

เรียนรู้เพิ่มเติม

Firefox saves webpages as .htm instead of .html

  • 2 การตอบกลับ
  • 2 คนมีปัญหานี้
  • 13 ครั้งที่ดู
  • ตอบกลับล่าสุดโดย 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.