Skip to content
This repository has been archived by the owner on Apr 19, 2024. It is now read-only.

Commit

Permalink
feat(挖财记账):开屏广告
Browse files Browse the repository at this point in the history
  • Loading branch information
AIsouler committed Jan 23, 2024
1 parent 0c337ab commit 5609bd8
Showing 1 changed file with 38 additions and 2 deletions.
40 changes: 38 additions & 2 deletions src/apps/com.wacai365.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export default defineAppConfig({
{
enable: false,
key: 1,
name: '新版本提示',
name: '更新提示',
quickFind: true,
actionMaximum: 1,
activityIds: [
Expand All @@ -24,12 +24,48 @@ export default defineAppConfig({
{
enable: false,
key: 2,
name: '弹窗广告',
name: '全屏广告-弹窗广告',
quickFind: true,
actionMaximum: 1,
activityIds: 'com.wacai365.HomeActivity',
rules: '[id^="com.wacai365:id/promote_banner_close"]',
snapshotUrls: 'https://i.gkd.li/import/13249666',
},
{
key: 3,
name: '开屏广告',
matchTime: 10000,
actionMaximum: 1,
resetMatch: 'app',
rules: [
{
key: 0,
matches:
'FrameLayout > FrameLayout[childCount>2] > @View[clickable=true] + TextView',
snapshotUrls: 'https://i.gkd.li/import/14021540',
},
// 该应用存在特殊开屏广告,被全局规则排除,以下为之前的开屏广告规则
{
key: 1,
quickFind: true,
matches: '[id="com.wacai365:id/ksad_splash_circle_skip_view"]',
snapshotUrls: 'https://i.gkd.li/import/13162861',
},
{
key: 2,
matches: '[id$="id/tt_splash_skip_btn"]',
snapshotUrls: [
'https://i.gkd.li/import/13177538',
'https://i.gkd.li/import/13194893',
],
},
{
key: 3,
quickFind: true,
matches: '[text^="跳过"][text.length<=6]',
snapshotUrls: 'https://i.gkd.li/import/13399124',
},
],
},
],
});

0 comments on commit 5609bd8

Please sign in to comment.