Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# 清理微信僵尸粉

# 更新日志

> * 2026-06-30
> 添加支持中国版微信8.0.72版本


# 请自行斟酌后使用,一切后果,自行承担,与本人无关。

> 查找被对方删除、拉黑的微信好友
Expand Down
5 changes: 3 additions & 2 deletions config/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
},
"other": {
"min_supported_versions": "7.0.15",
"max_supported_versions": "8.0.23"
"max_supported_versions": "8.0.72"
}
},
"ids_versions": {
Expand All @@ -31,7 +31,8 @@
"8.0.9-8.0.9": "8.0.0.json",
"8.0.10-8.0.11": "8.0.10.json",
"8.0.14-8.0.16": "8.0.14.json",
"8.0.18-8.0.23": "8.0.18.json"
"8.0.18-8.0.23": "8.0.18.json",
"8.0.24-8.0.72": "8.0.72.json"
}
}
}
34 changes: 34 additions & 0 deletions config/text_id/other/8.0.72.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
"version": "8.0.23-8.0.72",
"contacts": "com.tencent.mm:id/icon_tv",
"labels": "com.tencent.mm:id/n9",
"label": "com.tencent.mm:id/hs8",
"contacts_count_by_label": "com.tencent.mm:id/hs7",
"friend_remark_by_label": "com.tencent.mm:id/(iwg|kpx)",
"friend_list_by_label": "android:id/list|com.tencent.mm:id/j9w",
"back_to_label_list": "com.tencent.mm:id/fz",
"label_list": "com.tencent.mm:id/fh6",
"friend_list": "com.tencent.mm:id/mg",
"friend_remark": "com.tencent.mm:id/kbq",
"contacts_count": "com.tencent.mm:id/caj",
"send_message": "com.tencent.mm:id/o3b",
"friend_details_page_list": "android:id/list",
"we_chat_id": "com.tencent.mm:id/cff",
"account_deleted": "com.tencent.mm:id/bq7",
"back_to_friend_list": "com.tencent.mm:id/actionbar_up_indicator",
"switch_message_type": "com.tencent.mm:id/bpe",
"more_function_by_transfer": "com.tencent.mm:id/bjz",
"transfer_function": "com.tencent.mm:id/a12",
"payee": "com.tencent.mm:id/lwo",
"transfer_amount": "com.tencent.mm:id/pbn",
"confirm_transfer": "com.tencent.mm:id/keyboard_action",
"abnormal_message": "com.tencent.mm:id/jlg",
"confirm_abnormal_message": "com.tencent.mm:id/mm_alert_ok_btn",
"back_to_chat": "com.tencent.mm:id/actionbar_up_indicator",
"back_to_chats": "com.tencent.mm:id/actionbar_up_indicator",
"more_function_by_delete": "com.tencent.mm:id/fq",
"more_function_by_delete_list": "android:id/list",
"delete": "com.tencent.mm:id/o3b",
"delete_but_reserve_history": "com.tencent.mm:id/c__",
"confirm_delete": "com.tencent.mm:id/b0f"
}
25 changes: 23 additions & 2 deletions modules/delete_friends.js
Original file line number Diff line number Diff line change
Expand Up @@ -205,14 +205,14 @@
if (running_config["delete_friends"]["clickDeleteFunction"]["widget"]) {
if (node_util.backtrackClickNode(node)) {
log_util.debug("控件点击删除功能成功");
return clickConfirmDelete;
return clickDeleteButReserveHistoryFunction;
}
log_util.error("控件点击删除功能失败");
}
if (running_config["delete_friends"]["clickDeleteFunction"]["coordinate"]) {
if (node_util.backtrackSimulationClickNode(node)) {
log_util.debug("坐标点击删除功能成功");
return clickConfirmDelete;
return clickDeleteButReserveHistoryFunction;
}
log_util.error("坐标点击删除功能失败");
}
Expand All @@ -221,6 +221,27 @@
return scrollMoreFunctionPage;
}

/**
* 点击取消删除同时清空聊天记录功能
*/
function clickDeleteButReserveHistoryFunction() {
while (true) {
let node = idMatches(ids["delete_but_reserve_history"]).findOne(running_config["find_delay_duration"]);
if (node_util.backtrackClickNode(node)) {
log_util.debug("控件点击取消删除同时清空聊天记录功能成功");
return clickConfirmDelete;
}
log_util.error("控件点击取消删除同时清空聊天记录功能失败");
if (node_util.backtrackSimulationClickNode(node)) {
log_util.debug("坐标点击取消删除同时清空聊天记录功能成功");
return clickConfirmDelete;
}
log_util.error("坐标点击取消删除同时清空聊天记录功能失败");
}
log_util.warn("取消删除同时清空聊天记录功能控件id可能不一致");
return scrollMoreFunctionPage;
}

/**
* 点击确认删除
*/
Expand Down
2 changes: 1 addition & 1 deletion modules/test_friends.js
Original file line number Diff line number Diff line change
Expand Up @@ -537,7 +537,7 @@
log_util.warn("返回聊天列表控件id可能不一致");
}
log_util.info("---------------聊天页面---------------");
return clickContacts;
return backToFriendList;
}

/**
Expand Down