搜尋 Mozilla 技術支援網站

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

了解更多

No firefox icon on HTML files

  • 8 回覆
  • 3 有這個問題
  • 6 次檢視
  • 最近回覆由 Revolt

more options

HTML files on my Windows 7 were showing a blank white page icon instead of the Firefox type icon. I reinstalled Windows and after installing Firefox again, the files were showing correctly. And then I did two things: one was syncing Firefox with my own preferences and the other one was overwriting the prefs.js that I backed-up previously. After this, it broke again and I don't know which one of these two caused the problem or if the do cause the problem. I tried a lot of things like changing the registry or reloading the icon cache but none worked.

HTML files on my Windows 7 were showing a blank white page icon instead of the Firefox type icon. I reinstalled Windows and after installing Firefox again, the files were showing correctly. And then I did two things: one was syncing Firefox with my own preferences and the other one was overwriting the prefs.js that I backed-up previously. After this, it broke again and I don't know which one of these two caused the problem or if the do cause the problem. I tried a lot of things like changing the registry or reloading the icon cache but none worked.

所有回覆 (8)

more options

Hi,

Please try this: Windows Control Panel > Default Programs > Associate a file type or protocol with a program, look for .htm and .html and for each click Change program > Browse (ignore any existing entry) to and choose Firefox.

If you have any Windows tweaks or optimizers installed you may also have to adjust the settings in the program.

more options

I already did that and I don't have Windows tweaks.

more options

Hello Revolt, see if this helpful : https://support.mozilla.org/en-US/questions/758266

thank you

more options

I already saw that post and didn't help.

more options

Try to rebuild the Windows icon cache.

  1. Open the Task Manager (Shift+Ctrl+ESC)
  2. In the Process tab, right-click on the Explorer.exe process and select End Process.
  3. Open the file picker via "File > New Task (Run)" and click the Browse button.
  4. Type or Paste %USERPROFILE%\AppData\Local in the File name field (AppData is a hidden folder).
  5. Select the IconCache.db file and use "Delete" in the right-click context menu to delete the file.
  6. After the IconCache.db file has been deleted, start a new explorer.exe process via "File > New Task" to get the desktop and Taskbar back.

Verify in Windows Explorer that you can see the IconCache.db file before doing the above mentioned steps because the IconCache.db file may be a hidden file. See http://kb.mozillazine.org/Show_hidden_files_and_folders

You may need to redo the default browser and temporarily make another browser the default browser.

more options

I already said that I did that!

more options

Did you check in the registry which icon is use for .html (HKCR\.html, HKCR\htmlfile) ?

more options

In HKCR\.html there wasn't listed any icons so I made a key named DefaultIcon with the (Default)'s value: C:\Program Files (x86)\Mozilla Firefox\firefox.exe,1 and in HKCR\htmlfile there was a key named DefaultIcon with (Default)'s value: "%1" and I changed it like the previous one. Still not working