From 666bef101426a85902b2a9e305cf8f5f9b7cf51c Mon Sep 17 00:00:00 2001 From: lisonge Date: Wed, 27 Sep 2023 19:59:35 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E4=BB=8A=E6=97=A5=E5=A4=B4=E6=9D=A1):=20?= =?UTF-8?q?=E4=BF=A1=E6=81=AF=E6=B5=81=E5=B9=BF=E5=91=8A-=E9=BB=98?= =?UTF-8?q?=E8=AE=A4=E5=85=B3=E9=97=AD=20(#411)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/apps/com.ss.android.article.news.ts | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/src/apps/com.ss.android.article.news.ts b/src/apps/com.ss.android.article.news.ts index 2c046a29..eacd0de9 100644 --- a/src/apps/com.ss.android.article.news.ts +++ b/src/apps/com.ss.android.article.news.ts @@ -62,5 +62,28 @@ export default defineAppConfig({ }, ], }, + { + enable: false, + key: 12, + name: '信息流广告', + desc: '点击右上角x按钮,点击不感兴趣', + activityIds: 'com.bytedance.ugc.innerfeed.impl.PostInnerFeedActivity', + rules: [ + { + name: '点击右上角x按钮', + key: 0, + matches: + 'FlattenUIText[text^="广告"][text.length=4] -n UIView[desc="不感兴趣 按钮"][clickable=true]', + snapshotUrls: 'https://gkd-kit.gitee.io/import/12733098', + }, + { + name: '点击不感兴趣', + preKeys: 0, + matches: + '@ViewGroup[clickable=true] > ImageView + TextView[text="不感兴趣"]', + snapshotUrls: 'https://gkd-kit.gitee.io/import/12733152', + }, + ], + }, ], });