From a27956ddfa4c19570dcf1f70c596e9a5cb1ef7c3 Mon Sep 17 00:00:00 2001 From: jiuqianyuan <39406781+jiuqianyuan@users.noreply.github.com> Date: Mon, 30 Oct 2023 00:40:24 +0800 Subject: [PATCH] =?UTF-8?q?feat(UC=E6=B5=8F=E8=A7=88=E5=99=A8):=20?= =?UTF-8?q?=E5=BC=80=E5=B1=8F=E5=B9=BF=E5=91=8A-=E8=A7=84=E5=88=99?= =?UTF-8?q?=E4=BC=98=E5=8C=96=20(#1563)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * feat(UC浏览器): 开屏广告 * feat(UC浏览器): 开屏广告 --------- Co-authored-by: lisonge close #1556 --- src/apps/com.UCMobile.ts | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/src/apps/com.UCMobile.ts b/src/apps/com.UCMobile.ts index c34d6ab3..ae2d5a20 100644 --- a/src/apps/com.UCMobile.ts +++ b/src/apps/com.UCMobile.ts @@ -7,10 +7,21 @@ export default defineAppConfig({ { key: -1, name: '开屏广告', - activityIds: 'com.uc.browser.InnerUCMobile', - matchLauncher: true, - rules: '[id="com.byted.pangle:id/tt_splash_skip_btn"]', - snapshotUrls: 'https://i.gkd.li/import/13188653', + matchTime: 10000, + actionMaximum: 1, + resetMatch: 'app', + quickFind: true, + rules: [ + { + matches: '[id="com.byted.pangle:id/tt_splash_skip_btn"]', + snapshotUrls: 'https://i.gkd.li/import/13188653', + }, + { + matches: + '@View[clickable=true] < RelativeLayout <2 FrameLayout < FrameLayout < FrameLayout <4 FrameLayout < [id="android:id/content"]', + snapshotUrls: 'https://i.gkd.li/import/13197655', + }, + ], }, { key: 0,