mirror of
https://github.com/fmz200/wool_scripts.git
synced 2026-03-21 05:46:52 +08:00
Compare commits
2 Commits
e599434b2b
...
fe4be619dd
| Author | SHA1 | Date | |
|---|---|---|---|
| fe4be619dd | |||
| b3cfa9122c |
@ -6,7 +6,7 @@
|
||||
# 配置教程:https://github.com/fmz200/wool_scripts/blob/main/QuantumultX/How-To-Use.md
|
||||
# 懒人配置:点击QX右下角风车拉下到底-下载配置-生成证书-配置证书-信任证书-开启QX即可愉快的使用了
|
||||
# 交流群组:https://t.me/lanjieguanggao https://t.me/QuantumultXCommunity
|
||||
# 更新时间:2025-01-12 18:50:00
|
||||
# 更新时间:2026-01-12 18:50:00
|
||||
#############################################
|
||||
|
||||
# =====================================
|
||||
|
||||
@ -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");
|
||||
|
||||
Reference in New Issue
Block a user