From 373e01656d9dfba001702dacfa1e487adc2241c5 Mon Sep 17 00:00:00 2001 From: Kun Jinkao <45487685+Snoopy1866@users.noreply.github.com> Date: Sun, 24 Dec 2023 21:13:10 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E4=BB=8A=E6=97=A5=E5=A4=B4=E6=9D=A1):=20?= =?UTF-8?q?=E6=B5=AE=E7=AA=97=E5=B9=BF=E5=91=8A=EF=BC=88=E4=BC=98=E5=8C=96?= =?UTF-8?q?=E8=A7=84=E5=88=99=EF=BC=89=20(#3410)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/apps/com.ss.android.article.news.ts | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/src/apps/com.ss.android.article.news.ts b/src/apps/com.ss.android.article.news.ts index 35857bf0..cdf8a706 100644 --- a/src/apps/com.ss.android.article.news.ts +++ b/src/apps/com.ss.android.article.news.ts @@ -39,18 +39,20 @@ export default defineAppConfig({ { key: 2, name: '浮窗广告', - quickFind: true, - activityIds: ['com.ss.android.article.news.activity.MainActivity'], rules: [ { + key: 0, + activityIds: [ + 'com.ss.android.article.news.activity.MainActivity', + 'com.ss.android.ugc.detail.activity.TikTokActivity', + ], matches: - '@ImageView < FrameLayout[childCount=2] < FrameLayout < FrameLayout <2 FrameLayout <4 [id="android:id/tabhost"]', - snapshotUrls: ['https://i.gkd.li/import/13262675'], - }, - { - matches: - '@ImageView <2 FrameLayout < FrameLayout < FrameLayout <5 RelativeLayout < LinearLayout <2 ViewPager <2 FrameLayout < FrameLayout <3 [id="android:id/tabhost"]', - snapshotUrls: ['https://i.gkd.li/import/13274622'], + 'FrameLayout > FrameLayout > FrameLayout[childCount=2] > ImageView + ImageView[clickable=true][visibleToUser=true]', + snapshotUrls: [ + 'https://i.gkd.li/import/13262675', + 'https://i.gkd.li/import/13274622', + 'https://i.gkd.li/import/13761236', + ], }, ], },