-
-
Notifications
You must be signed in to change notification settings - Fork 216
/
Copy pathcn.xiaochuankeji.zuiyouLite.ts
69 lines (68 loc) · 2.27 KB
/
cn.xiaochuankeji.zuiyouLite.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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
import { defineGkdApp } from '@gkd-kit/define';
export default defineGkdApp({
id: 'cn.xiaochuankeji.zuiyouLite',
name: '皮皮搞笑',
groups: [
{
key: -1,
name: '开屏广告',
matchTime: 10000,
actionMaximum: 1,
resetMatch: 'app',
actionMaximumKey: 0,
priorityTime: 10000,
rules: [
{
key: 0,
anyMatches: [
'@View[clickable=true][text=null][visibleToUser=true] + TextView[index=parent.childCount.minus(1)][text=null] <n FrameLayout[childCount>2] >(7,8,9,10) [text*="第三方应用" || text*="扭动手机" || text*="点击或上滑"][visibleToUser=true]',
'FrameLayout > FrameLayout[childCount>2] > @View[clickable=true][text=null][visibleToUser=true] + TextView[index=parent.childCount.minus(1)][text=null][visibleToUser=true]',
],
snapshotUrls: 'https://i.gkd.li/i/14546304',
},
{
key: 1,
fastQuery: true,
matches: '[text*="跳过"][text.length<=10]',
snapshotUrls: [
'https://i.gkd.li/i/12745095',
'https://i.gkd.li/i/13387320',
],
},
{
key: 2,
fastQuery: true,
position: {
left: 'width * 0.8778',
top: 'width * 0.1667',
},
matches:
'[id$="spalsh_ad_view"] >4 [id$="native_container"] >2 [id="cn.xiaochuankeji.zuiyouLite:id/contentView"]', // 避免选中其他开屏广告节点
exampleUrls:
'https://m.gkd.li/57941037/485963ab-07b1-412a-a932-badc50cb2688',
snapshotUrls: 'https://i.gkd.li/i/13399391',
},
],
},
{
key: 2,
name: '分段广告-信息流广告',
fastQuery: true,
activityIds: 'cn.xiaochuankeji.zuiyouLite.ui.slide.ActivitySlideDetail',
rules: [
{
key: 0,
name: '点击关闭',
matches: '[id="cn.xiaochuankeji.zuiyouLite:id/ad_remove"]',
snapshotUrls: 'https://i.gkd.li/i/13387116',
},
{
preKeys: [0],
name: '点击[不喜欢广告主]',
matches: '@LinearLayout[clickable=true] > [text="不喜欢广告主"]',
snapshotUrls: 'https://i.gkd.li/i/13387155',
},
],
},
],
});