加载头像
0%

更新日志

2024 更新日志

2024

08-10

# 增加配置
docsearch:
enable: true
appId:
apiKey:
indexName:
option:
  • 更新日志界面
  • 修复搜索无高亮
  • 修复AI摘要后端
  • 控制plugins.yml
// 删除不需要的包
if (name === '@docsearch/js' || name === '@docsearch/css') {
delete data[key];
return;
}

08-08

  • 修复搜索无法使用
  • 修复异常友联图片无法展示
  • 修改版权

08-06

  • 修复搜索xss
  • 添加友联异常
  • 增强索引

07-23

  • 修复AI摘要

07-20

  • 修复umami今日人数不展示

07-19

大更新 优化细节

  • 恢复umami统计
  • 修改GitHub actions
  • 优化AI摘要
  • 优化缓存

07-03

  • 修改开往
  • 增加github action监控友链脚本
  • 开启nav
  • 升级依赖

06-25

  • 添加日志页面
  • 发布自建Docker镜像文章
  • 修改一些细节
  • 修改页面底部标签

06-25

  • 加强AI摘要验证

05-13

  • 接入AI摘要

04-20

  • 修改引入统计
  • 修改PWA文件

04-19

  • 缩小业务 去掉自建统计
  • 修改发包版本

04-17

  • 优化防盗

04-13

  • 修改github action 自动发包 文件上传到cos
  • 加强控制防盗
  • 删除自改NPM包

04-02

  • 修复底部较空
  • 修复统计URL地址错误

03-38

  • 去掉关于页高德地图

03-26

  • 修改免责声明

02-15

  • 修改CDN文件 添加开发版 和 上线版

01-18

  • 修改github action 自动上传服务器

01-17

  • 修改cdn文件 优化主样式为私有存储

01-14

  • 去掉微信公众号引流
  • 修改github action 添加自动刷新CDN
  • 删除全部本地静态资源 加强静态资源管理

01-12

  • 设置微信引流验证为7天

01-11

  • 恢复评论
  • 加强钉钉通知

01-10

  • 添加微信引流
2023 更新日志

2023

12-23

  • 关闭评论和打赏 进入公安审核

12-10

  • 添加投诉与反馈

12-07

  • 修复twikoo 配置为自行管理文件
  • 更新cdn文件 修改twikoo默认cdn
if (name === 'twikoo'){
data[key] = "https://xxxx/twikoo.all.min.js"
}else{
data[key] = cdnSource[type];
}

12-04

  • 添加打赏提示
small 打赏时建议备注各位大佬昵称

11-23

  • 添加备案国徽
- link: https://beian.miit.gov.cn/
img: https://xxx/beian.png
text: 赣ICP备2022006573号
a.footer-bar-link(href=url_for(item.link) title=item.text)
img(src=item.img alt='备案国徽' class='nolazyload' style='width:16px;height:17px;vertical-align: top;margin-right: 4px;')
| #{item.text}
if theme.footer.footerBar.cc.enable

11-22

  • 网站公安备案
  • 去掉分类和标签右侧信息

10-25

  • 修复个人页面的描述
  • 修复文章封面

08-27

  • 更新打赏
  • 修复AI 自开发本地测试

08-17

  • 修复关于页
  • 剔除cdn文件的繁体字文件

08-16

  • 删除默认添加 接入自建umami统计
fetch("https://umami.test.com/api/websites/#{id}/specifystats",{
method: 'GET',
headers:{
"Accept":"application/json",
"Authorization": "Bearer #{token}"
},
}).then(res => res.json()).then(data => {
let title = ["今日人数", "今日访问", "昨日人数", "昨日访问", "本月访问", "总访问量"];
let statisticEl = document.getElementById("statistic");

let statistic = [];
for (let i = 0; i < data.length; i++) {
if (!statisticEl) return;
statisticEl.innerHTML +=
"<div><span>" + title[i] + "</span><span id=" + title[i] + ">" + data[i] + "</span></div>";
queueMicrotask(() => {
statistic.push(
new CountUp(title[i], 0, data[i], 0, 2, {
useEasing: true,
useGrouping: true,
separator: ",",
decimal: ".",
prefix: "",
suffix: "",
})
);
});
}

let statisticElment = document.querySelector(".about-statistic.author-content-item");

function statisticUP() {
if (anzhiyu.isInViewPortOfOne(statisticElment)) {
for (let i = 0; i < data.length; i++) {
queueMicrotask(() => {
statistic[i].start();
});
}
document.removeEventListener("scroll", throttleStatisticUP);
}
}

const selfInfoContentYear = new CountUp("selfInfo-content-year", 0, #{selfInfoContentYear}, 0, 2, {
useEasing: true,
useGrouping: false,
separator: ",",
decimal: ".",
prefix: "",
suffix: "",
});

let selfInfoContentYearElment = document.querySelector(".author-content-item.selfInfo.single");

function scrollSelfInfoContentYear() {
if (selfInfoContentYearElment && anzhiyu.isInViewPortOfOne(selfInfoContentYearElment)) {
selfInfoContentYear.start();
document.removeEventListener("scroll", throttleScrollSelfInfoContentYear);
}
}

const throttleStatisticUP = anzhiyu.throttle(statisticUP, 200);
document.addEventListener("scroll", throttleStatisticUP, {passive: true});
statisticUP();
const throttleScrollSelfInfoContentYear = anzhiyu.throttle(scrollSelfInfoContentYear, 200);
document.addEventListener("scroll", throttleScrollSelfInfoContentYear, {passive: true});
scrollSelfInfoContentYear();
})

08-13

  • 地图无法显示
  • 优化地图展示幅度

08-12

  • 优化地图
  • 添加无法调试
const detectApple = `
const detectApple = () => {
if(/iPad|iPhone|iPod|Macintosh/.test(navigator.userAgent)){
document.documentElement.classList.add('apple')
}
}
detectApple()
`;

const sealTools = `
function block() {
if (window.outerHeight - window.innerHeight > 200 || window.outerWidth - window.innerWidth > 200) {
document.body.innerHTML = "检测到非法调试,请关闭后刷新重试!";
}
setInterval(() => {
(function () {
return false;
}
['constructor']('debugger')
['call']());
}, 50);
}
try {
block();
} catch (err) { }
`

08-08

  • 修复按钮文字居中
  • 修复top图显示不全
  • 优化地图
var map = new AMap.Map('mapContainer', {
zoom: 9,
center: [#{longitude},#{latitude}],
clickable: true,
});
const marker = new AMap.Marker({
position: new AMap.LngLat(#{longitude}, #{latitude}),
title: '博主的避风港'
});
map.add(marker);
const mapContainer = document.getElementById("mapContainer");
const amapLogoElements = mapContainer.getElementsByClassName("amap-logo");
const amapCopyrightElements = mapContainer.getElementsByClassName("amap-copyright");
while (amapLogoElements.length > 0) {
amapLogoElements[0].parentNode.removeChild(amapLogoElements[0]);
}
while (amapCopyrightElements.length > 0) {
amapCopyrightElements[0].parentNode.removeChild(amapCopyrightElements[0]);
}
function clickmarker(){
map.setCenter([#{longitude},#{latitude}])
map.setZoom(14)
}
marker.on('mouseup', clickmarker);
  • 修改地图经纬度
longitude: 118.187278
latitude: 24.667612

08-03

  • 修复404

07-26

  • 更新cdn文件 使用自发包
  • 静态资源优化

07-24

  • 更新朋友圈 退回原版本朋友圈

07-23

  • 1.4.2

07-19

  • 修改twikoo提示

07-15

  • 修改底部备案
  • 去掉页脚计时器

07-12

  • 添加运营模式页面
  • 使用百度统计

07-12

  • 添加 协议 隐私 版权协议 Cookies页面
  • 修复vercel无法访问
  • 修复无法获取用户IP

07-10

  • 修复地图
var center = new TMap.LatLng(#{latitude}, #{longitude})
var map = new TMap.Map(document.getElementById('mapContainer'), {
center: center,
zoom: 14,
pitch: 43.5,
rotation: 45
});
map.removeControl(TMap.constants.DEFAULT_CONTROL_ID.ZOOM);
map.removeControl(TMap.constants.DEFAULT_CONTROL_ID.ROTATION);
map.removeControl(TMap.constants.DEFAULT_CONTROL_ID.SCALE);
var markerLayer = new TMap.MultiMarker({
map: map,
styles: {
marker: new TMap.MarkerStyle({
width: 20,
height: 30,
anchor: {x: 10, y: 30},
}),
},
geometries: [{
id: 'marker',
position: center,
}]
});
const childDiv = document.querySelector('#mapContainer div');
const grandchildDivs = childDiv.querySelectorAll('div');
grandchildDivs[1].remove();

07-06

  • 开启弹幕
  • 添加Graph分享图片
- let metaImage = (page.cover || theme.avatar.sharimg) ? full_url_for(page.cover || theme.avatar.sharimg) : ''

07-01

  • 重新分类封面图片
  • 修复关于图片不显示
.card-background-icon i{
font-size:12rem;
}

06-25

  • 剔除数据万象
  • 恢复图片地址
  • 添加关于页面游戏描述 IOS 新东方瑶酱
comic:
comic_tips: 爱好游戏
comic_title: 王者荣耀
comic_guid: "IOS 新东方瑶酱"
comic_description: 常用英雄

06-19

  • 更新相册
  • 图片使用腾讯数据万象

06-13

  • 1.3.1
  • 修改友联好友地址
  • 关闭音乐

06-08

  • 修改友联页面详细信息

05-24

  • 修改技能图片地址
  • cdn文件添加自发NPM包
main: {
name: "xyhcode-static", file: "main.js", version
}

05-23

  • 1.2.1
  • 修复404页面
  • 优化错误图片地址
  • 修复PWA图片显示403

05-22

  • 开启PWA

05-20

  • 去掉无效链接 缩小业务

05-19

  • 自建评论

05-12

  • 1.2.0

05-18

  • 更新关于页面地图样式
style.
.map-title {
left: auto;
text-align:center;
}
  • 修改友联

05-14

  • 优化关于界面地图
map.removeControl(TMap.constants.DEFAULT_CONTROL_ID.ZOOM);
map.removeControl(TMap.constants.DEFAULT_CONTROL_ID.ROTATION);
map.removeControl(TMap.constants.DEFAULT_CONTROL_ID.SCALE);

const childDiv = document.querySelector('#mapContainer div');
const grandchildDivs = childDiv.querySelectorAll('div');
grandchildDivs[1].remove();

05-13

  • 修改封面URL地址
  • 去掉和风天气

05-11

  • 独立所有文章封面图片地址
  • 优化关于页腾讯地图
  • 优化打赏
  • 优化底部运行时间

05-10

  • 更新1.1.10

05-05

04-27

  • 更新全部文章的方面

04-24

  • 删除谷歌广告
  • 删除siteicon全部图标
  • 更新文章favicon
  • 优化首页主图

04-22

  • 更新1.1.8
  • 修改音乐nav
  • 更新文章 优化细节
  • 删除无用图标

04-21

  • 删除留言页面
  • 更新评论版本

04-20

  • 优化友联无法显示

04-19

  • 更新1.1.7
  • 加强优化github actions

04-18

  • 添加github actions

04-17

  • 优化文章
  • 修改clock

04-16

  • 去掉音乐
  • 修改文章分类
  • 添加关于页面 和 配置

04-14

  • 更新1.1.5
  • 修改友联
  • 修改即可短文界面
  • 添加PWA

04-11

  • 修改朋友圈JS
  • 删除关于页面多余部分
  • 修改音乐接口

04-10

  • 全新主题
  • 添加弹幕token
  • 修改热评
  • 移除无用配置
2022 更新日志

2022

10-18

使用vercel部署

07-18

  • 使用github 发布博客
  • 主题 butterfly

07-14

  • 开始使用hexo

01-23-07-13

使用 springboot 自己开发博客(代码已丢失)

博客快捷键
shift K
关闭快捷键功能
shift A
打开中控台
shift M
播放/暂停音乐
shift D
深色/浅色显示模式
shift S
站内搜索
shift R
随机访问
shift H
返回首页
shift F
友链鱼塘
shift L
友链页面
shift P
关于本站
shift I
原版右键菜单
引用到评论
随便逛逛博客分类文章标签
复制地址关闭热评深色模式轉為繁體