V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
• 请不要在回答技术问题时复制粘贴 AI 生成的内容
garlics
V2EX  ›  程序员

发现了个新 feature,不同节点有不同的 favicon.ico,这是怎么实现的啊

  •  
  •   garlics · Mar 30, 2020 · 1351 views
    This topic created in 2232 days ago, the information mentioned may be changed or developed.

    network 里没有 favicon.ico 请求

    dcsite
        1
    dcsite  
       Mar 30, 2020
    关键词:

    shortcut icon
    U7Q5tLAex2FI0o0g
        2
    U7Q5tLAex2FI0o0g  
       Mar 30, 2020
    <link rel="icon" sizes="192x192" href="//cdn.v2ex.com/navatar/94f6/d7e0/300_xxl.png?m=1585387533">
    <link rel="shortcut icon" href="//cdn.v2ex.com/navatar/94f6/d7e0/300_large.png?m=1585387533" type="image/png">

    不一定一定要叫“favicon.ico”请知悉。
    每个节点加载不同 png 就可了,有啥奇怪的
    garlics
        3
    garlics  
    OP
       Mar 30, 2020
    @dcsite
    @littleylv
    又学到一个知识点,以前还以为小图标一定要 favicon.ico
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2860 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 32ms · UTC 10:44 · PVG 18:44 · LAX 03:44 · JFK 06:44
    ♥ Do have faith in what you're doing.