From dd37d52bc43c715d290338f90970ea4c53911a89 Mon Sep 17 00:00:00 2001 From: Kun Jinkao <45487685+Snoopy1866@users.noreply.github.com> Date: Sun, 29 Oct 2023 01:59:13 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E7=BD=91=E6=98=93=E9=82=AE=E7=AE=B1?= =?UTF-8?q?=E5=A4=A7=E5=B8=88):=20=E5=BC=80=E5=B1=8F=E5=B9=BF=E5=91=8A-?= =?UTF-8?q?=E8=A7=84=E5=88=99=E4=BC=98=E5=8C=96=20(#1518)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * feat 开屏广告(优化规则) * feat(网易邮箱大师): 开屏广告-规则优化 --------- Co-authored-by: lisonge --- src/apps/com.netease.mail.ts | 24 ++++++++---------------- 1 file changed, 8 insertions(+), 16 deletions(-) diff --git a/src/apps/com.netease.mail.ts b/src/apps/com.netease.mail.ts index 327ba5d9..a2dfc9b4 100644 --- a/src/apps/com.netease.mail.ts +++ b/src/apps/com.netease.mail.ts @@ -7,31 +7,23 @@ export default defineAppConfig({ { key: 0, name: '开屏广告', - matchLauncher: true, quickFind: true, - activityIds: [ - 'com.netease.mail.biz.main.MainITabActivity', - 'com.netease.mail.biz.main.SplashActivity', - 'com.netease.mail.ad.launch.ui.SplashAdActivity', - 'com.netease.mail.biz.main.MainITabActivity', - ], + matchTime: 10000, + actionMaximum: 1, + resetMatch: 'app', rules: [ { key: 0, - matches: '[id="com.netease.mail:id/ad_skip"]', - snapshotUrls: 'https://i.gkd.li/import/12818335', - }, - { - key: 1, - matches: - '[id="com.netease.mail:id/ad_placeholder"] >n [text^="跳过"]', + matches: '[text*="跳过"][text.length<=10]', snapshotUrls: [ 'https://i.gkd.li/import/12893573', - 'https://i.gkd.li/import/12923776', // com.netease.mail.biz.main.SplashActivity + 'https://i.gkd.li/import/12923776', + 'https://i.gkd.li/import/13195662', + 'https://i.gkd.li/import/12818335', ], }, { - key: 2, + key: 1, matches: '[id="com.byted.pangle:id/tt_splash_skip_btn"]', snapshotUrls: 'https://gkd-kit.gitee.io/import/12999739', },