From 79a91bca4463273984fc3350a0c0df585669bc6d Mon Sep 17 00:00:00 2001 From: aisouler Date: Thu, 1 Feb 2024 18:28:32 +0800 Subject: [PATCH] Squashed commit of the following: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit commit c9b0031fa43b5317cae153dd23d0bf323894f6f9 Author: aisouler Date: Wed Jan 24 15:01:24 2024 +0800 feat(百度):红包弹窗(补充规则) commit d4456ad47a80d87566d896057452f818a83340c8 Author: aisouler Date: Fri Jan 19 19:50:08 2024 +0800 feat(百度):红包弹窗(补充规则) --- src/apps/com.baidu.searchbox.ts | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/src/apps/com.baidu.searchbox.ts b/src/apps/com.baidu.searchbox.ts index 8e1c3f47..17d64d68 100644 --- a/src/apps/com.baidu.searchbox.ts +++ b/src/apps/com.baidu.searchbox.ts @@ -7,7 +7,7 @@ export default defineAppConfig({ groups: [ { key: 1, - name: '红包弹窗', + name: '全屏广告-红包弹窗', desc: '点击关闭', rules: [ { @@ -15,6 +15,17 @@ export default defineAppConfig({ matches: '[text^="看视频"] -2 ImageView[index=4]', snapshotUrls: 'https://i.gkd.li/import/13806848', }, + { + activityIds: 'com.baidu.searchbox.MainActivity', + matches: + '[id="android:id/content"] >2 LinearLayout[childCount=2] > ImageView[index=1]', + snapshotUrls: 'https://i.gkd.li/import/13988536', + }, + { + activityIds: 'com.baidu.searchbox.MainActivity', + matches: 'ViewGroup[childCount=7] > ImageView[index=1]', + snapshotUrls: 'https://i.gkd.li/import/14034223', + }, ], }, ],