-
Notifications
You must be signed in to change notification settings - Fork 152
/
Copy pathcom.babytree.apps.pregnancy.ts
55 lines (54 loc) · 1.6 KB
/
com.babytree.apps.pregnancy.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
import { defineGkdApp } from '@gkd-kit/define';
export default defineGkdApp({
id: 'com.babytree.apps.pregnancy',
name: '宝宝树孕育',
groups: [
{
key: 0,
name: '开屏广告',
fastQuery: true,
matchTime: 10000,
actionMaximum: 1,
resetMatch: 'app',
actionMaximumKey: 0,
priorityTime: 10000,
rules: [
{
key: 0,
matches: '[text*="跳过"][text.length<10][visibleToUser=true]',
snapshotUrls: 'https://i.gkd.li/i/12614757',
},
{
key: 1,
matches:
'@View[childCount=0][clickable=true][visibleToUser=true] < RelativeLayout < FrameLayout + RelativeLayout >2 [text^="摇一摇"]',
snapshotUrls: 'https://i.gkd.li/i/15566228',
},
],
},
{
key: 2,
name: '全屏广告-弹窗广告',
activityIds: 'com.babytree.apps.pregnancy.activity.SailfishActivity',
rules: [
{
matches:
'ImageView[id="com.babytree.apps.pregnancy:id/bb_referenced_active_dialog_img_2"] + ImageView[id!=null][clickable=true]',
snapshotUrls: 'https://i.gkd.li/i/12614834',
},
],
},
{
key: 3,
name: '局部广告-首页右侧悬浮广告',
activityIds: 'com.babytree.apps.pregnancy.activity.SailfishActivity',
rules: [
{
matches:
'ImageView[id!=null][clickable=false] + @ImageView[id!=null][clickable=true] + FrameLayout[id=null] > TextView[text=null][id!=null]',
snapshotUrls: 'https://i.gkd.li/i/12614838',
},
],
},
],
});