diff --git a/src/apps/com.netease.mobimail.ts b/src/apps/com.netease.mobimail.ts index 3c5dde70..5f4bf830 100644 --- a/src/apps/com.netease.mobimail.ts +++ b/src/apps/com.netease.mobimail.ts @@ -7,21 +7,28 @@ export default defineAppConfig({ { key: 0, name: '开屏广告', - activityIds: 'com.netease.mail.ad.launch.ui.SplashAdActivity', + matchTime: 10000, + actionMaximum: 1, + resetMatch: 'app', rules: [ { - matches: '[id="com.netease.mobimail:id/ad_skip"]', - snapshotUrls: 'https://i.gkd.li/import/12667519', + key: 0, + name: '开屏广告-0', + quickFind: true, + matches: '[text*="跳过"][text.length<=10][clickable=true]', + snapshotUrls: [ + 'https://i.gkd.li/import/12667519', + 'https://i.gkd.li/import/13328425', // 限定 [clickable=true] 防止误触假的跳过按钮 + 'https://i.gkd.li/import/12686132', + 'https://i.gkd.li/import/13328441', + ], }, { + key: 1, + name: '开屏广告-1', matches: '[id="com.byted.pangle:id/tt_splash_skip_btn"]', snapshotUrls: 'https://i.gkd.li/import/12686093', }, - { - matches: - '[id="com.netease.mobimail:id/ad_placeholder"] >5 TextView[text^="跳过"]', - snapshotUrls: 'https://i.gkd.li/import/12686132', - }, ], }, {