From b13854643d1a6acb9126e9fb97918e472775c773 Mon Sep 17 00:00:00 2001 From: aisouler Date: Sun, 18 Feb 2024 12:00:33 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E7=9F=A5=E4=B9=8E):=20=E5=88=86=E6=AE=B5?= =?UTF-8?q?=E5=B9=BF=E5=91=8A=EF=BC=88=E8=A1=A5=E5=85=85=E8=A7=84=E5=88=99?= =?UTF-8?q?=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/apps/com.zhihu.android.ts | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/src/apps/com.zhihu.android.ts b/src/apps/com.zhihu.android.ts index a2232cbd..727c8a2e 100644 --- a/src/apps/com.zhihu.android.ts +++ b/src/apps/com.zhihu.android.ts @@ -14,6 +14,7 @@ export default defineAppConfig({ 'com.zhihu.android.app.ui.activity.HostActivity', 'com.zhihu.android.feature.short_container_feature.ui.ShortContainerHostActivity', 'com.zhihu.android.ContentActivity', + 'com.zhihu.android.app.ui.activity.MainActivity', ], rules: [ { @@ -51,10 +52,20 @@ export default defineAppConfig({ snapshotUrls: 'https://i.gkd.li/import/14192451', }, { - key: 90, - preKeys: [0, 1, 2, 3], + key: 4, quickFind: true, - matches: '@[clickable=true] >3 [text="内容不感兴趣"]', + activityIds: 'com.zhihu.android.app.ui.activity.MainActivity', + matches: + '[vid="dot_text_layout"] + [vid="menu_container"] > [vid="menu"]', + exampleUrls: + 'https://m.gkd.li/57941037/689c77eb-9026-44db-b22e-d890961a0ad6', + snapshotUrls: 'https://i.gkd.li/import/14321041', + }, + { + key: 90, + preKeys: [0, 1, 2, 3, 4], + quickFind: true, + matches: '@[clickable=true] >3 [text$="不感兴趣"]', snapshotUrls: 'https://i.gkd.li/import/13849689', }, ],