Firefox不显示图标 [英] Firefox doesn't show favicon

查看:102
本文介绍了Firefox不显示图标的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我创建了favicon.ico文件并将其声明在我的HTML头标记中:

 < link type =image / x-iconhref =favicon.icorel =icon/> 
< link type =image / x-iconhref =favicon.ico =shortcut icon/>

IE 8和Opera处理它很棒,但FireFox甚至不会尝试加载它(正如我从我的Fiddler调试代理)。我试过很多不同的类型(image / ico等)和href params但没有运气。



我错过了什么?

解决方案

与浏览器中的大部分内容一样,favicons(或缺少它)是缓存的常用候选项。


尝试清除浏览器缓存。



在Mozilla Firefox中,键盘快捷键 重新加载(覆盖缓存)


  • Ctrl + F5 OR

  • Ctrl <

    I created favicon.ico file and declared it in my HTML head tag:

    <link type="image/x-icon" href="favicon.ico" rel="icon" />
    <link type="image/x-icon" href="favicon.ico" rel="shortcut icon" />
    

    IE 8 and Opera handle it great but FireFox does not even try to load it (as I see from my Fiddler debug proxy). I've tried many different type (image/ico etc.) and href params but no luck.

    What did I miss?

    解决方案

    Like most things in the browser, favicons (or lack thereof) are common candidates for caching.

    Try clearing your browser cache.

    In Mozilla Firefox, the keyboard shortcut to "Reload (override cache)" is

    • Ctrl + F5 OR
    • Ctrl + Shift + R

    这篇关于Firefox不显示图标的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

  • 查看全文
    登录 关闭
    扫码关注1秒登录
    发送“验证码”获取 | 15天全站免登陆