feat(LOFTER):开屏广告 (#3122)

close #3094
This commit is contained in:
jiuqianyuan
2023-12-15 19:23:01 +08:00
committed by GitHub
parent c8933b493b
commit 25fa988fce

View File

@@ -7,13 +7,25 @@ export default defineAppConfig({
{
key: 0,
name: '开屏广告',
activityIds: 'com.lofter.android.global.splash.HomeActivity',
rules: '[text^="跳过"][text.length<=10]',
matchTime: 10000,
actionMaximum: 1,
resetMatch: 'app',
rules: [
{
key: 0,
matches: '[text*="跳过"][text.length<=10]',
quickFind: true,
snapshotUrls: [
'https://i.gkd.li/import/13189846',
'https://i.gkd.li/import/13189906',
],
},
{
actionMaximumKey: 0,
matches: '[id="com.byted.pangle:id/tt_splash_skip_btn"]',
snapshotUrls: 'https://i.gkd.li/import/13635533',
},
],
},
],
});