diff --git a/src/apps/cn.damai.ts b/src/apps/cn.damai.ts index 73be2d35..d4a2191b 100644 --- a/src/apps/cn.damai.ts +++ b/src/apps/cn.damai.ts @@ -7,9 +7,24 @@ export default defineAppConfig({ { key: 0, name: '开屏广告', - activityIds: 'cn.damai.launcher.splash.SplashMainActivity', + matchTime: 10000, + actionMaximum: 1, + resetMatch: 'app', rules: '[id="cn.damai:id/homepage_advert_pb"]', snapshotUrls: 'https://i.gkd.li/import/12472623', }, + { + key: 1, + name: '弹窗广告', + rules: [ + { + key: 0, + activityIds: 'cn.damai.homepage.MainActivity', + matches: + '[id="cn.damai:id/homepage_popup_window_image"] + [id="cn.damai:id/homepage_popup_window_close_btn"]', + snapshotUrls: 'https://i.gkd.li/import/13627900', + }, + ], + }, ], });