From 9af88c93c034d11b84b5935209d4e8935cb18537 Mon Sep 17 00:00:00 2001 From: Kun Jinkao <45487685+Snoopy1866@users.noreply.github.com> Date: Tue, 28 Nov 2023 20:01:07 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E9=A9=BE=E6=A0=A1=E4=B8=80=E7=82=B9?= =?UTF-8?q?=E9=80=9A):=20=E5=BC=80=E5=B1=8F=E5=B9=BF=E5=91=8A=EF=BC=88?= =?UTF-8?q?=E4=BC=98=E5=8C=96=E8=A7=84=E5=88=99=EF=BC=89=E3=80=81=E5=BC=B9?= =?UTF-8?q?=E7=AA=97=E5=B9=BF=E5=91=8A=20(#2588)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * feat 开屏广告(优化规则) * feat 弹窗广告 --- src/apps/com.jxedt.ts | 34 +++++++++++++++++++++++----------- 1 file changed, 23 insertions(+), 11 deletions(-) diff --git a/src/apps/com.jxedt.ts b/src/apps/com.jxedt.ts index b5b02463..3f6b31d4 100644 --- a/src/apps/com.jxedt.ts +++ b/src/apps/com.jxedt.ts @@ -6,17 +6,16 @@ export default defineAppConfig({ groups: [ { key: 1, - name: '首页广告', - activityIds: ['com.jxedt.ui.activitys.GuideActivity'], - rules: [ - { - matches: '[id="com.jxedt:id/tv_guide_tiaoguo" || text*="跳过"]', - snapshotUrls: [ - 'https://i.gkd.li/import/12605051', - 'https://i.gkd.li/import/12605053', - 'https://i.gkd.li/import/12605057', - ], - }, + name: '开屏广告', + quickFind: true, + matchTime: 10000, + actionMaximum: 1, + resetMatch: 'app', + rules: '[text^="跳过"][text.length<=10]', + snapshotUrls: [ + 'https://i.gkd.li/import/12605051', + 'https://i.gkd.li/import/12605053', + 'https://i.gkd.li/import/12605057', ], }, { @@ -26,5 +25,18 @@ export default defineAppConfig({ rules: '[id="com.jxedt:id/img_question_banner_close"]', snapshotUrls: 'https://i.gkd.li/import/13195641', }, + { + key: 3, + name: '弹窗广告', + rules: [ + { + key: 0, + activityIds: 'com.jxedt.ui.activitys.NewHomeActivity', + quickFind: true, + matches: '[id="com.jxedt:id/img_dialog_ad_close"]', + snapshotUrls: 'https://i.gkd.li/import/13476741', + }, + ], + }, ], });