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.

Search Support

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

No firefox icon on HTML files

  • 8 replies
  • 3 have this problem
  • 6 views
  • Last reply by 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.

All Replies (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