feat(心动日常): 开屏广告(优化规则) (#2832)

This commit is contained in:
Kun Jinkao
2023-12-05 20:36:36 +08:00
committed by GitHub
parent 2c813267de
commit 788123afa1

View File

@@ -8,23 +8,23 @@ export default defineAppConfig({
key: 0, key: 0,
name: '开屏广告', name: '开屏广告',
quickFind: true, quickFind: true,
matchLauncher: true, matchTime: 10000,
activityIds: [ actionMaximum: 1,
'com.youloft.icloser.splash.AdSplashActivity', resetMatch: 'app',
'com.youloft.icloser.splash.SplashActivity',
],
rules: [ rules: [
{ {
matches: [ key: 0,
'TextView[text^="跳过"]', matches: '[text^="跳过"][text.length<=10]',
'[id="com.byted.pangle:id/tt_splash_skip_btn"]',
],
snapshotUrls: [ snapshotUrls: [
'https://i.gkd.li/import/12910405', 'https://i.gkd.li/import/12910405',
'https://i.gkd.li/import/13072365',
'https://i.gkd.li/import/13175102', 'https://i.gkd.li/import/13175102',
], ],
}, },
{
key: 1,
matches: '[id="com.byted.pangle:id/tt_splash_skip_btn"]',
snapshotUrls: 'https://i.gkd.li/import/13072365',
},
], ],
}, },
{ {