Vyhľadajte odpoveď

Vyhnite sa podvodom s podporou. Nikdy vás nebudeme žiadať, aby ste zavolali alebo poslali SMS na telefónne číslo alebo zdieľali osobné informácie. Nahláste prosím podozrivú aktivitu použitím voľby “Nahlásiť zneužitie”.

Learn More

Firefox saves webpages as .htm instead of .html

  • 2 odpovede
  • 2 majú tento problém
  • 91 zobrazení
  • Posledná odpoveď od 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.

Vybrané riešenie

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.

Čítať túto odpoveď v kontexte 👍 3

Všetky odpovede (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.

Upravil(a) RandomAccount dňa

more options

Vybrané riešenie

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.