No firefox icon on HTML files
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)
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.
I already did that and I don't have Windows tweaks.
Hello Revolt, see if this helpful : https://support.mozilla.org/en-US/questions/758266
thank you
I already saw that post and didn't help.
Try to rebuild the Windows icon cache.
- Open the Task Manager (Shift+Ctrl+ESC)
- In the Process tab, right-click on the Explorer.exe process and select End Process.
- Open the file picker via "File > New Task (Run)" and click the Browse button.
- Type or Paste %USERPROFILE%\AppData\Local in the File name field (AppData is a hidden folder).
- Select the IconCache.db file and use "Delete" in the right-click context menu to delete the file.
- 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.
I already said that I did that!
Did you check in the registry which icon is use for .html (HKCR\.html, HKCR\htmlfile) ?
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