V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
susansusan
V2EX  ›  问与答

无意中发现,进入 V2EX 的自己的主页,浏览器图标会变成自己头像,咋做到的呢?

  •  
  •   susansusan · 2020-04-29 17:57:32 +08:00 · 1316 次点击
    这是一个创建于 1457 天前的主题,其中的信息可能已经有所发展或是发生改变。
    大家点自己的名字,是不是也是看到浏览器原本显示 favicon.ico 的地方变成了你的头像呢?
    这是咋做到的呢?
    2 条回复    2020-04-29 18:56:06 +08:00
    linauror
        1
    linauror  
       2020-04-29 18:18:26 +08:00
    html 里面有这么一段
    `
    <link rel="shortcut icon" href="https://cdn.v2ex.com/avatar/45e3/4d39/247796_large.png?m=1502313831" type="image/png" />

    `
    susansusan
        2
    susansusan  
    OP
       2020-04-29 18:56:06 +08:00
    嗯嗯 shortcut icon 明白了 谢谢!
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2687 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 54ms · UTC 16:01 · PVG 00:01 · LAX 09:01 · JFK 12:01
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.