Windows 10 reached EOS (end of support) on October 14, 2025. If you are on Windows 10, see this article.

搜尋 Mozilla 技術支援網站

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

了解更多
封存

Firefox tries to save a page with a defaul .com file extension but should be .htm or .html

Geek79

Firefox insists on saving a page using a .com extension (from the web name) In a Windows environment a file that ends in .com is considered an executable, and it is the wrong file extension to use. When I save a page I expect Firefox to be smart enough to know that a web page name should have either an .htm or .html file extension. Every time that I save a page, I need to manually modify the file extension because the default is .com

Firefox insists on saving a page using a .com extension (from the web name) In a Windows environment a file that ends in .com is considered an executable, and it is the wrong file extension to use. When I save a page I expect Firefox to be smart enough to know that a web page name should have either an .htm or .html file extension. Every time that I save a page, I need to manually modify the file extension because the default is .com

所有回覆 (1)

When you select to save the page, check all the settings. Including the file type.