From cea62b1c77a46b2c7346600d4a89bb5c1a0a1c15 Mon Sep 17 00:00:00 2001 From: hehh Date: Tue, 25 Nov 2025 22:35:24 +0800 Subject: [PATCH] =?UTF-8?q?feat(analytics):=20=E6=9B=B4=E6=96=B0=E4=B8=8D?= =?UTF-8?q?=E8=92=9C=E5=AD=90=E7=BB=9F=E8=AE=A1=E8=84=9A=E6=9C=AC=E5=B9=B6?= =?UTF-8?q?=E7=A7=BB=E9=99=A4=E6=9C=AC=E5=9C=B0=E6=A0=BC=E5=BC=8F=E5=8C=96?= =?UTF-8?q?=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 将不蒜子统计脚本源地址更新为官方 CDN 地址 - 移除本地实现的访问量格式化脚本 - 依赖外部库自带的格式化功能替代原有手动实现 - 简化代码结构,减少冗余逻辑 - 提升页面加载性能与维护性 - 统一使用外部库的标准格式化规则 --- about.html | 65 ---------------------------------------------------- js/config.js | 2 +- 2 files changed, 1 insertion(+), 66 deletions(-) diff --git a/about.html b/about.html index e04f49a..78d1744 100644 --- a/about.html +++ b/about.html @@ -363,70 +363,5 @@ })(); - - - \ No newline at end of file diff --git a/js/config.js b/js/config.js index 5a05afc..80bdde8 100644 --- a/js/config.js +++ b/js/config.js @@ -133,7 +133,7 @@ const SiteConfig = { // 站点统计配置 analytics: { busuanzi: { - src: 'https://events.vercount.one/js', + src: '//cdn.busuanzi.cc/busuanzi/3.6.9/busuanzi.abbr.min.js', site_pv_id: 'busuanzi_value_site_pv', site_uv_id: 'busuanzi_value_site_uv', formatter: true