From fe4be619dd58dcbc23835a1315b70a48375ead5c Mon Sep 17 00:00:00 2001 From: king Date: Sun, 18 Jan 2026 23:11:14 +0800 Subject: [PATCH] =?UTF-8?q?update=20=E5=B0=8F=E7=BA=A2=E4=B9=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Scripts/xiaohongshu/xiaohongshu.js | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/Scripts/xiaohongshu/xiaohongshu.js b/Scripts/xiaohongshu/xiaohongshu.js index ee81cee3..ca18b055 100644 --- a/Scripts/xiaohongshu/xiaohongshu.js +++ b/Scripts/xiaohongshu/xiaohongshu.js @@ -1,7 +1,7 @@ /** * @author fmz200,Baby * @function 小红书去广告、净化、解除下载限制、画质增强等 - * @date 2025-12-10 22:10:00 + * @date 2026-01-18 23:10:00 * @quote @RuCu6 */ @@ -87,6 +87,26 @@ if (url.includes("/note/imagefeed?") || url.includes("/note/feed?")) { item.share_info.function_entries.unshift(addItem); } } + // 新版下载限制 + if (Array.isArray(item.function_switch)) { + item.function_switch.forEach(item => { + if (item?.type === 'image_download') { + item.enable = true; + } + }); + } + // 复制权限 + const options = item.note_text_press_options; + if (Array.isArray(options)) { + const hasCopy = options.some(item => item.key === 'copy'); + if (!hasCopy) { + options.push({ + key: 'copy', + extra: '' + }); + } + } + // 处理帖子引用的标签 if (item.hash_tag) { item.hash_tag = item.hash_tag.filter(tag => tag.type !== "interact_vote");