From db16f8a950cfe07445a6cca09b60251a825565de Mon Sep 17 00:00:00 2001 From: aisouler Date: Thu, 1 Feb 2024 18:39:22 +0800 Subject: [PATCH] Squashed commit of the following: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit commit 70abcb29135423250334683b2475f8e9742a974e Author: aisouler Date: Fri Jan 26 16:46:15 2024 +0800 Update com.smile.gifmaker.ts commit 0be26d2dc7a0bf6678ee6f12d21cee946d2b5a9a Author: aisouler Date: Sun Jan 21 22:16:55 2024 +0800 feat(快手):你可能感兴趣的人(补充规则) --- src/apps/com.smile.gifmaker.ts | 23 +++++++++++++++++------ 1 file changed, 17 insertions(+), 6 deletions(-) diff --git a/src/apps/com.smile.gifmaker.ts b/src/apps/com.smile.gifmaker.ts index 515e9d11..4728ff65 100644 --- a/src/apps/com.smile.gifmaker.ts +++ b/src/apps/com.smile.gifmaker.ts @@ -64,13 +64,24 @@ export default defineAppConfig({ { enable: false, key: 12, - name: '你可能感兴趣的人', - desc: '自动点击【关闭】', + name: '功能类-你可能感兴趣的人', + desc: '自动点击【关闭/隐藏】', activityIds: 'com.yxcorp.gifshow.HomeActivity', - rules: '[id="com.smile.gifmaker:id/close_pymk"]', - snapshotUrls: [ - 'https://i.gkd.li/import/12708620', - 'https://i.gkd.li/import/12708707', + rules: [ + { + key: 0, + matches: '[id="com.smile.gifmaker:id/close_pymk"]', + snapshotUrls: [ + 'https://i.gkd.li/import/12708620', + 'https://i.gkd.li/import/12708707', + ], + }, + { + key: 1, + quickFind: true, + matches: 'ViewGroup[childCount=3] > [text="隐藏"]', + snapshotUrls: 'https://i.gkd.li/import/14001536', + }, ], }, ],