diff --git a/README.md b/README.md index 224aff8..3653058 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ > 一键搜索 · 自动点击 · 智能评论 —— 小红书运营引流的效率神器 -[![版本](https://img.shields.io/badge/版本-1.8.4-ff2442.svg)](https://dl.88531.cn/xhs.html) +[![版本](https://img.shields.io/badge/版本-1.8.5-ff2442.svg)](https://dl.88531.cn/xhs.html) [![平台](https://img.shields.io/badge/平台-Chrome%20%7C%20Edge-4caf50.svg)](#安装方法) [![语言](https://img.shields.io/badge/语言-纯%20JavaScript-2196f3.svg)](#开发说明) @@ -104,10 +104,13 @@ ## 📜 版本历史 -当前版本:**1.8.4** +当前版本:**1.8.5**
-展开查看完整变更记录(v1.2.0 ~ v1.8.4) +展开查看完整变更记录(v1.2.0 ~ v1.8.5) + +### 1.8.5 +- **标题旁显示版本号**:侧边栏顶部标题右侧新增版本徽章(如 `v1.8.5`),一眼确认装的是哪一版;页脚版本同步显示。徽章与页脚均**从 manifest 动态读取**,以后升版只需改 manifest 一处,不会再出现两处版本号不一致 ### 1.8.4 - **支付成功页直接显示卡密**:只要服务端发了卡就把卡密明文展示在购买页(等宽大字 + 一键复制),**自动激活失败也照常显示**,并附手动激活指引(侧边栏「输入卡密」粘贴 → 激活)——付了钱拿不到卡密、只能找客服的情况不会再出现 diff --git a/background.js b/background.js index 3b80825..5885540 100644 --- a/background.js +++ b/background.js @@ -16,7 +16,7 @@ const DEFAULT_AI = { const AUTH_BASE = 'https://auth.88531.cn'; const AUTH_PROJECT_ID = 3; const AUTH_API_KEY = 'ak_bbf83b76df8219388d7f60b9e67c7db2'; -const CLIENT_VERSION = '1.8.4'; +const CLIENT_VERSION = '1.8.5'; const TRIAL_MS = 72 * 60 * 60 * 1000; // 试用 72 小时(3 天) const TRIAL_QUOTA = 100; // 试用期最多 100 条评论(时间/条数先到先停,防止白嫖薅量) const GRACE_DAILY = 3; // 试用到期不硬锁:每天保留 3 条体验额度 diff --git a/manifest.json b/manifest.json index a904c58..c0e69d3 100644 --- a/manifest.json +++ b/manifest.json @@ -1,7 +1,7 @@ { "manifest_version": 3, "name": "小红书自动评论助手", - "version": "1.8.4", + "version": "1.8.5", "description": "右侧侧边栏常驻的自动评论助手,支持试用/卡密授权、固定池/自定义文字/图片/AI评论", "permissions": [ "storage", diff --git a/privacy.html b/privacy.html index bd4e141..9dd6ab8 100644 --- a/privacy.html +++ b/privacy.html @@ -16,7 +16,7 @@

小红书自动评论助手 · 隐私政策

-
生效日期:2026年10月10日 · 适用版本:v1.8.4 及以上
+
生效日期:2026年10月10日 · 适用版本:v1.8.5 及以上

感谢使用「小红书自动评论助手」浏览器扩展(以下简称"本插件")。我们重视你的隐私。本页面说明本插件收集哪些信息、如何使用以及如何保护。

diff --git a/sidepanel.css b/sidepanel.css index 649e8ff..e88221c 100644 --- a/sidepanel.css +++ b/sidepanel.css @@ -30,6 +30,19 @@ body { font-weight: 600; } +.header h1 .ver-badge { + display: inline-block; + margin-left: 4px; + padding: 1px 8px; + border-radius: 10px; + background: rgba(255, 255, 255, 0.28); + color: #fff; + font-size: 11px; + font-weight: 700; + vertical-align: middle; + letter-spacing: 0.3px; +} + .search-section { padding: 16px; border-bottom: 1px solid #eee; diff --git a/sidepanel.html b/sidepanel.html index d1f10f1..2ce240c 100644 --- a/sidepanel.html +++ b/sidepanel.html @@ -9,7 +9,7 @@
-

🤖 小红书自动评论助手

+

🤖 小红书自动评论助手

@@ -204,7 +204,7 @@ diff --git a/sidepanel.js b/sidepanel.js index 3967d99..0e55d3d 100644 --- a/sidepanel.js +++ b/sidepanel.js @@ -1294,5 +1294,13 @@ class AutoCommentManager { // 初始化 document.addEventListener('DOMContentLoaded', () => { + // 标题旁徽章 + 页脚版本统一从 manifest 读取:升版只改 manifest 一处,不会再漏 + try { + const v = chrome.runtime.getManifest().version; + const badge = document.getElementById('ver-badge'); + if (badge) badge.textContent = 'v' + v; + const fv = document.getElementById('footer-ver'); + if (fv) fv.textContent = '版本: ' + v; + } catch (e) { /* 版本显示失败不阻断初始化 */ } new AutoCommentManager(); }); \ No newline at end of file