-
Notifications
You must be signed in to change notification settings - Fork 152
/
Copy pathcn.ms.pages.ts
70 lines (69 loc) · 2.2 KB
/
cn.ms.pages.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
70
import { defineGkdApp } from '@gkd-kit/define';
export default defineGkdApp({
id: 'cn.ms.pages',
name: '飞鸟听书',
groups: [
{
key: 1,
name: '全屏广告-弹窗广告',
rules: [
{
key: 0,
name: '字节广告',
activityIds:
'com.bytedance.sdk.openadsdk.stub.activity.Stub_Standard_Portrait_Activity',
matches:
'@Image[text=""] < View +n View > View > TextView[text="广告"]',
snapshotUrls: 'https://i.gkd.li/i/13450787',
},
{
key: 1,
fastQuery: true,
activityIds: 'cn.ms.pages.ActivityLingPai',
matches:
'ImageView < @ViewGroup[clickable=true] < ViewGroup +n ViewGroup [text="广告"]',
snapshotUrls: 'https://i.gkd.li/i/16136277',
},
{
key: 2,
fastQuery: true,
activityIds: 'cn.ms.pages.ActivityLingPai',
matches: ['[text="广告"]', '[text="跳过"]'],
snapshotUrls: 'https://i.gkd.li/i/16136271',
},
{
key: 3,
activityIds:
'com.bytedance.sdk.openadsdk.stub.activity.Stub_Standard_Portrait_Activity',
matches: '[text="反馈"] +3 View > [text$="跳过"]',
snapshotUrls: 'https://i.gkd.li/i/16136260',
},
],
},
{
key: 2,
name: '分段广告-看视频得奖励广告',
fastQuery: true,
activityIds:
'com.bytedance.sdk.openadsdk.stub.activity.Stub_Standard_Portrait_Activity',
rules: [
{
key: 0,
matches:
'@RelativeLayout[childCount=0][clickable=true] < FrameLayout < FrameLayout < FrameLayout < FrameLayout < FrameLayout < FrameLayout < [id="android:id/content"]',
exampleUrls:
'https://m.gkd.li/57941037/fd1ff96e-6d17-4738-a2f1-3648169ce53c',
snapshotUrls: 'https://i.gkd.li/i/16136235',
},
{
preKeys: [0],
key: 1,
matches: '[text="坚持退出"]',
exampleUrls:
'https://m.gkd.li/57941037/f09986f3-6dc6-4067-9136-ac6aa0afad3f',
snapshotUrls: 'https://i.gkd.li/i/16136240',
},
],
},
],
});