From d693d0130fbabb75b326c2e15ca0b04babf4e658 Mon Sep 17 00:00:00 2001 From: walklty <47232102+walklty@users.noreply.github.com> Date: Sun, 14 Jan 2024 21:44:48 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E5=B0=8F=E6=81=A9=E7=88=B1):=20=E5=BC=80?= =?UTF-8?q?=E5=B1=8F,=20=E5=BC=B9=E7=AA=97=20(#3798)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit close #3796 --- src/apps/com.xiaoenai.app.ts | 30 +++++++++++++++++++++++++----- 1 file changed, 25 insertions(+), 5 deletions(-) diff --git a/src/apps/com.xiaoenai.app.ts b/src/apps/com.xiaoenai.app.ts index 57365601a..54b9a0555 100644 --- a/src/apps/com.xiaoenai.app.ts +++ b/src/apps/com.xiaoenai.app.ts @@ -5,19 +5,39 @@ export default defineAppConfig({ name: '小恩爱', groups: [ { - key: 6, - name: '广告弹窗', + key: 0, + name: '开屏广告', matchTime: 10000, actionMaximum: 1, resetMatch: 'app', - activityIds: - 'com.xiaoenai.app.presentation.home.view.activity.HomeActivity', + quickFind: true, + rules: [ + { + matches: '[text*="跳过"][text.length<=10]', + snapshotUrls: 'https://i.gkd.li/import/13727905', + }, + { + matches: + '@View <3 FrameLayout[childCount=4] <2 FrameLayout[childCount=2] < [vid="ad_view"]', + snapshotUrls: 'https://i.gkd.li/import/13867880', + }, + ], + }, + { + key: 6, + name: '全屏广告', + matchTime: 15000, + actionMaximum: 1, + resetMatch: 'app', rules: [ { name: '腾讯广告SDK', matches: 'FrameLayout[childCount>1] > FrameLayout[childCount=1] > ImageView[width<90][height<90]', - snapshotUrls: 'https://i.gkd.li/import/13728018', + snapshotUrls: [ + 'https://i.gkd.li/import/13728018', + 'https://i.gkd.li/import/13867878', + ], }, ], },