myblogplus 第三期 如何更改你博客的图标,已实现 - mooling原创
三言两语
博客的logo可以凸显你的blog的个性
不知道你有没有觉得博客园原始的那个小矿工不好看了呢
fromto 这才是个人博客的style!
为什么要写这篇文章
因为在博客园的“找找看”中,如果你把第一页的所有文章都看一遍,复制到 你博客后台的代码里,你发现在最流行的chrome中,一点反应也没有。。。
这篇文章不用jquery的加持,可以直接OK
上代码:
<script type="text/javascript">
document.getElementById("favicon").remove();
var linkObject = document.createElement('link');
linkObject.rel = "shortcut icon";
linkObject.href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAIAAABMXPacAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAABZsSURBVHhe7Z0HXBPnG8dvJEBAEBUXDpa7VK0TpYi2bqlWRVCxatW6B2qttrRotVbrqlZFba1YdxWtow5wQRWlatW/dVABcSA4AGWTcXf/95I3civhOFYS+X74wPNcICTP773nfd5xF1SVdRWpovLA4M8qKom3SACCIJ+/eKVWExRFwUMmwNsiQPz91JadQtzbhVR3WRA4bhs8agK8FQK8TM/6OGjLw6eomlRoENXhyH8fPEqHj1U2b4UAs0N2JadmIVg+QmkQBAVHrlx/pHuo0rF8AeKu3t9/NB6mfZSOvklh4QIUFqpmfHkIQXHomx4WLkD43r//d/cZdEwSSxbgadrrWSEHocPmv8Tn0KpsLFmAlRuioMXDdEYCFitA5qucyOj70OFhOmMxixUgKvq/pGSDxT5BVglQnoDs/+2qU9ARgqwSoFzZc+gav/kP7NcRWrrBmGlggQKA/L5tTxx09Pj7vfNui9rQQRC1hoBWZWOBAkTHJvCb//zp3XC0ADoIoiFIaFU2FijAktXc7N/bt8l77zpDRwtRJUA5kZ6Ze/c+d5A1f0Y38D07V6n1TGYIoMXSBNi663LmqzzoaPHt4ga+oKOnoFANrcrGogTIyS1cuyUaOnpC5/aAFpOqkXB5sHHbBTHNH6BWV1VBZQ3I/vzmr8v+fFRVApQ563+J4TT/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ORUb/tu9Keh5LnmJACRTVjB7WddZEH8+WZR/3N1iUAGoNYdd4LnQAJGljhZEqFQliKa6DpcEId5daQYM7Th3XrVbNojsylBMWJQCAOSMEEjWlJpDi7mdXBIZ083KbMaHHwD7vVtgGA4vqAwDM4Ri9KU1k9FG0m3fj0wemnj4wc1Df1hUWfYClCcAbjhUDjmFNXR3PgNDvn+3bpVlFhl6HpQnAKYSMgFKkHFEv+7L3nUuLunVtWvGh12HJKUgYlN5JiFFUb1+3yIPTgqdVxJU8RrC0TphbCLHBMRxEv3XL6tvWj2vVvGTJqpywtDNALsN9vLT3ctLfQegNOFngWhdfEdo9LirURKIPsLQzAJCdU9Cg+UQl6ojQO21JBOR6lOru1ThwaLvhAd2t2Df3qnQsUADA3fjHi1acPBF5CyEQ14Y1flgyeIDhjSGVi2UKoIOkb4UPqpvKKnBEYWl9ABOMxqSjD7BkAcyCKgEqFQT5P/d/ELUp/gY6AAAAAElFTkSuQmCC"; /*s1.ax1x.com/2020/07/26/a9XzKU.jpg*/
document.getElementsByTagName("head")[0].appendChild(linkObject); </script>
这就需要JavaScript的支持了,所有涉及“更改”的都要js
不行的话申请一下吧
填“适度美化博客”
方法详细
首先查看你blog的源代码,ctrl+u
找到是第12行定义了icon图标
所以有了js第1行的
因为图标的id是favicon,获取并remove
var linkObject = document.createElement('link');
linkObject.rel = "shortcut icon";
linkObject.href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAIAAABMXPacAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAABZsSURBVHhe7Z0HXBPnG8dvJEBAEBUXDpa7VK0TpYi2bqlWRVCxatW6B2qttrRotVbrqlZFba1YdxWtow5wQRWlatW/dVABcSA4AGWTcXf/95I3civhOFYS+X74wPNcICTP773nfd5xF1SVdRWpovLA4M8qKom3SACCIJ+/eKVWExRFwUMmwNsiQPz91JadQtzbhVR3WRA4bhs8agK8FQK8TM/6OGjL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egJKec5YjAKcQohA0v6Bkmx6Skl9+vvBIwzbfj5n154MUUdfRYxQZ/tOoe5dChg8FgzUp6c5yBGjjySn10IxMUWvuma8Ltu681N53ZUvv1Wu3XnuWLiL0JP2hFOMCO+Sm/Bjk36E008CWIwBjvzA9tQCCkmjgvh9vSH78cuaCPY08F05bcOp/idkkWnTtrRFwimjuUf1O7Febfxwlw0s2euBjOQIA9FlI1x4phcJgyX/ln4fDx29v0Xn15p33lJQ1IWp2ml5sHD6gze9bP7l1cZG7a8k+vcAQFiUAMwtRFHL3v6fQYXD52oP+w8O6Dvw14lQSgclZi7aGoCeOiCmfesWdDt7xy6cDB3Qqw6UnixKAc+Va3PX4G//CG6/k5Ck3b7/k+/GmboM2R11I0x0UgwxBPwvqkHz923VLR7R5p2zunM/EcsYBgGs3H3Xt/yN06A9vUn0+I6Dn+/VORUb/tu9Keh5LnmJACRTVjB7WddZEH8+WZR/3N1iUAGoNYdd4LnQAJGljhZEqFQliKa6DpcEId5daQYM7Th3XrVbNojsylBMWJQCAOSMEEjWlJpDi7mdXBIZ083KbMaHHwD7vVtgGA4vqAwDM4Ri9KU1k9FG0m3fj0wemnj4wc1Df1hUWfYClCcAbjhUDjmFNXR3PgNDvn+3bpVlFhl6HpQnAKYSMgFKkHFEv+7L3nUuLunVtWvGh12HJKUgYlN5JiFFUb1+3yIPTgqdVxJU8RrC0TphbCLHBMRxEv3XL6tvWj2vVvGTJqpywtDNALsN9vLT3ctLfQegNOFngWhdfEdo9LirURKIPsLQzAJCdU9Cg+UQl6ojQO21JBOR6lOru1ThwaLvhAd2t2Df3qnQsUADA3fjHi1acPBF5CyEQ14Y1flgyeIDhjSGVi2UKoIOkb4UPqpvKKnBEYWl9ABOMxqSjD7BkAcyCKgEqFQT5P/d/ELUp/gY6AAAAAElFTkSuQmCC"; /*s1.ax1x.com/2020/07/26/a9XzKU.jpg*/
document.getElementsByTagName("head")[0].appendChild(linkObject);
接着createElement,新建了一个啥也没有的<link/>元素
添加href属性 就是你的图标地址,初始的是也就是12行定义的
然后将这个元素添加到网页中,
document.getElementsByTagName("head")[0].appendChild(linkObject);
就OK了,当然你希望加载快一点,所以最好变成不需要加载的文件,这个网站https://www.base64-image.de/
myblogplus 第三期 如何更改你博客的图标,已实现 - mooling原创的更多相关文章
- 更改CSDN博客皮肤的一种简易方法
CSDN改版后,皮肤设置变得不能够更改了,不过下面这种方法依然可以做到: 首先来到博客设置的主页面:. 接下来按ctrl + shift + i进入 如下页面,然后点击图中红色标记圈起来的选择元素按钮 ...
- [置顶] 如何更改CSDN博客高亮代码皮肤的样式,使博客看起来更有范(推荐)
由于本人写博客的时候,也没有配置博客的相关属性,因此贴出来的代码块都是CSDN默认的,因此代码背景色都是白色的,如下所示: 但是本人在浏览他人博客的时候,发现有些博客的代码块看起来比较有范,整个代码库 ...
- 如何更改CSDN博客高亮代码皮肤的样式,使博客看起来更有范(推荐)
由于本人写博客的时候,也没有配置博客的相关属性,因此贴出来的代码块都是CSDN默认的,因此代码背景色都是白色的,如下所示: 但是本人在浏览他人博客的时候,发现有些博客的代码块看起来比较有范,整个代码库 ...
- 博客主Judge已跳槽搬家emmm
跳槽网站:博客园 顺便带一下:洛谷blog (好久没更了QAQ...) ### 不过csdn上还是会照常更新的,毕竟用着方便
- 利用 Hexo + Github 搭建自己的博客
扯在前面 在很久很久以前,一直就想搭建属于自己的一个博客,但由于各种原因,最终都不了了之,恰好最近突然有了兴趣,于是就自己参照网上的教程,搭建了属于自己的博客. 至于为什么要搭建自己的博客了?哈哈,大 ...
- 软件工程(QLGY2015)博客点评总结
目录 第一次作业(2015.5.9) 第二次作业(2015.5.21) 第三次作业(2015.6.11) 2015上半年软工助教总结 第一次作业(2015.5.9) 存在主要问题 1)书写这种练习博客 ...
- Orchard官方文档翻译(八) 为站点增加博客
原文地址:http://docs.orchardproject.net/Documentation/Adding-a-blog-to-your-site 想要查看文档目录请用力点击这里 最近想要学习了 ...
- 在云服务器搭建WordPress博客(六)发布和管理文章
<( ̄︶ ̄)↗[GO!] 发布文章是一个网站后台最重要的功能之一,WordPress的文章发布功能是比较强大的,系统简单地介绍一下. 访问后台 – 文章 – 写文章 ,就可以看到如下图所示的界面 ...
- 如何成为CSDN博客专家
先看一下官方给出的要求: 申请CSDN博客专家应具备的条件: 1.原创IT类文章总数超过20篇,并且最近一个月内发布了新的原创IT类文章. 2.博客文章总的浏览量超过5万次以上. 3.文章内容的质量很 ...
随机推荐
- Android常用布局和控件
一.Android常用布局属性 1. LinearLayout的特有属性 android:orientation:设置布局排列方式 android:layout_weight:设置所占布局的权重 ...
- 用 Python 制作一个艺术签名小工具,给自己设计一个优雅的签名
生活中有很多场景都需要我们签字(签名),如果是一些不重要的场景,我们的签名好坏基本无所谓了,但如果是一些比较重要的场景,如果我们的签名比较差的话,就有可能给别人留下不太好的印象了,俗话说字如其人嘛,本 ...
- 17、Observer 观察者模式
以一个实例给大家引入观察者,大家多多少少都写过html或者java中的swing.我们定义一个按钮,给他增加一个点击事件,那么这个方法是怎么被触发到呢,对了,就是利用了观察者设计模式 观察者模式 当对 ...
- C# ASP 动态添加Html Table行
用JS放法实现以下效果: 前端文件Questionnaire23.aspx: <%@ Page Title="题目" Language="C#" Mast ...
- C#LeetCode刷题之#414-第三大的数(Third Maximum Number)
问题 该文章的最新版本已迁移至个人博客[比特飞],单击链接 https://www.byteflying.com/archives/3710 访问. 给定一个非空数组,返回此数组中第三大的数.如果不存 ...
- 认识与学习BASH①——鸟叔的Linux私房菜
文章目录 认识与学习BASH① 认识BASH 壳程序 多种shells Bash shell 的功能 type :查询指令是否为Bash shell 的内置指令 指令的换行输入和快速删除 Shell的 ...
- DRF内置认证组件之自定义认证系统
自定义token认证 我们知道,在django项目中不管路由以及对应的视图类是如何写的,都会走到 dispatch 方法,进行路由分发, 在阅读 APIView类中的dispatch 方法的源码中,有 ...
- 代码优化与sql优化---未完待续
万丈高楼平地起,还是得打一个好地基呀 减少对变量对重复计算 //一般这么写 for (int i = ; i < list.size(); i++) {...} //建议修改为: for (in ...
- Mac开发工具
便捷管理你的Mac App Homebrew:https://brew.sh/index_zh-cn 强大的文本编辑器 Sublime Text:http://www.sublimetext.com ...
- dota2输入法无候选框?
win10自带的微软拼音在dota2中不会显示候选框,或者说是选词框. 这种情况下只能选择其他输入法. 我选择的是搜狗输入法(此随笔添加时的最新版),在dota2中有选词框. 网上有些人说要改兼容性, ...