Skip to content

Commit

Permalink
feat(车e兴): 开屏广告 (#570)
Browse files Browse the repository at this point in the history
  • Loading branch information
AIsouler committed Dec 7, 2024
1 parent 3d067fe commit 3961ea7
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions src/apps/com.anshibo.activity.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
import { defineGkdApp } from '@gkd-kit/define';

export default defineGkdApp({
id: 'com.anshibo.activity',
name: '车e兴',
groups: [
{
key: 1,
name: '开屏广告',
matchTime: 10000,
actionMaximum: 1,
resetMatch: 'app',
priorityTime: 10000,
rules: [
{
matches:
'FrameLayout > FrameLayout[childCount>2] > @View[clickable=true][text=null][visibleToUser=true] + TextView[visibleToUser=true][text=null][index=parent.childCount.minus(1)]',
exampleUrls: 'https://e.gkd.li/7f58925f-39dd-40c3-a8f1-f6e5268eced4',
snapshotUrls: 'https://i.gkd.li/i/18046569',
excludeSnapshotUrls: 'https://i.gkd.li/i/18047812', // 全局规则 key: 1 在此提前触发消耗次数
},
],
},
],
});

0 comments on commit 3961ea7

Please sign in to comment.