修改博客园网页小图标icon

js脚本添加

<!-- 网页小图标 -->
<script type="text/javascript" language="javascript">
  //Setting ico for cnblogs
  var linkObject = document.createElement('link');
  linkObject.rel = "shortcut icon";
  linkObject.href = "https://img2023.cnblogs.com/blog/3036865/202311/3036865-20231124175017594-1656921376.icon";
  document.getElementsByTagName("head")[0].appendChild(linkObject);
</script>

图标下载 https://www.aigei.com/icon/class/

没有会员,不登陆直接右键保存

格式转换(格式必须为ico)

https://www.aconvert.com/cn/icon/png-to-ico/
注意大小,太大显示不了,然后下载放到cnblog
image

posted @ 2023-11-24 17:56  学不会xuebuhui  阅读(45)  评论(0编辑  收藏  举报
Language: javascript