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.文章内容的质量很 ...
随机推荐
- Spring事务专题(三)事务的基本概念,Mysql事务处理原理
前言 本专题大纲: 我重新整理了大纲,思考了很久,决定单独将MySQL的事务实现原理跟Spring中的事务示例分为两篇文章,因为二者毕竟没有什么实际关系,实际上如果你对MySQL的事务原理不感兴趣也可 ...
- Ubuntu环境下使用Jupyter Notebook查找桌面.csv文档的方法
这个问题困扰了我很久,最后在一个老师发来的完成结果里找到了答案.(奇怪的是教材里没有.老师也不讲.尤其是百度也没有啊啊啊啊) 好了进入正题.教材里的原话是这样的 这行代码实现的环境应该是在window ...
- 《JavaScript语言入门教程》记录整理:运算符、语法和标准库
目录 运算符 算数运算符 比较运算符 布尔运算符 二进制位运算符 void和逗号运算符 运算顺序 语法 数据类型的转换 错误处理机制 编程风格 console对象和控制台 标准库 Object对象 属 ...
- 解惑4:java是值传递还是引用传递
一.概述 曾经纠结了很久java的参数传递方式是什么样的,后面粗略的了解了一鳞半爪以后有了大概的印象:"传参数就是值传递,传对象就是引用传递",后面进一步查找了相关资料和文章以后, ...
- 洛谷 P4198 楼房重建
思路 此题可转化为以下模型 给定序列\(a[1...n]\),支持单点修改,每次求区间单调栈大小 \(n,Q\le 10^5\) 区间单调栈是什么呢?对于一个区间,建立一个栈,首先将第一个元素入栈,从 ...
- IOS - ACL (访问控制列表)
ACL 介绍 ACL 是一款 IOS 软件工具,而不是某种协议.从名字上来看,ACL 的主要功能是控制对网络资源的访问.事实上这是 ACL 最早的用途.现在 ACL 除了能够限制访问外,更多时候,我们 ...
- JS学习第七天
从js-bom入门到放弃 window常用属性: document 返回该窗口内装载的HTML文档 location 返回该窗口装载的HTML文档的URL screen 返回当前浏览者屏幕对象 his ...
- C#LeetCode刷题之#874-模拟行走机器人(Walking Robot Simulation)
问题 该文章的最新版本已迁移至个人博客[比特飞],单击链接 https://www.byteflying.com/archives/4038 访问. 机器人在一个无限大小的网格上行走,从点 (0, 0 ...
- C#LeetCode刷题之#566-重塑矩阵( Reshape the Matrix)
问题 该文章的最新版本已迁移至个人博客[比特飞],单击链接 https://www.byteflying.com/archives/3720 访问. 在MATLAB中,有一个非常有用的函数 resha ...
- C#图解教程(第四版)—03—类和继承
1 使用基类的引用 派生类的实例由 基类的实例 加上 派生类 新增的成员 组成. 派生类的 引用 指向整个类对象,包括基类部分 重点:使用对象的 基类部分的引用 来访问对象 (父 ...