forked from gkd-kit/subscription
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcom.ss.android.article.lite.ts
90 lines (89 loc) · 2.82 KB
/
com.ss.android.article.lite.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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
import { defineAppConfig } from '../types';
export default defineAppConfig({
id: 'com.ss.android.article.lite',
name: '头条搜索极速版',
groups: [
{
key: 0,
name: '开屏广告',
quickFind: true,
matchLauncher: true,
activityIds: 'com.ss.android.article.lite.activity.SplashActivity',
rules: '@FrameLayout[desc= "跳过广告"] > TextView[text="跳过广告"]',
snapshotUrls: 'https://gkd-kit.gitee.io/import/13111705',
},
{
enable: false,
key: 10,
name: '首页-红包弹窗',
activityIds: 'com.ss.android.article.lite.activity.SplashActivity',
rules: '@[desc="关闭"] + [text$="现金红包"]',
snapshotUrls: 'https://gkd-kit.gitee.io/import/12705414',
},
{
key: 11,
name: '首页-右侧悬浮广告',
activityIds: 'com.ss.android.article.lite.activity.SplashActivity',
rules:
'FrameLayout[id!=null] > @ImageView[id!=null][clickable=true] + ImageView[id!=null]',
snapshotUrls: 'https://gkd-kit.gitee.io/import/12705452',
},
{
enable: false,
key: 12,
name: '首页-你可能感兴趣的人',
activityIds: 'com.ss.android.article.lite.activity.SplashActivity',
rules: '[text="你可能感兴趣的人"] + [desc="关闭"]',
snapshotUrls: 'https://gkd-kit.gitee.io/import/12705427',
},
{
enable: false,
key: 20,
name: '任务页面-签到弹窗',
activityIds: 'com.ss.android.article.lite.activity.SplashActivity',
rules: [
{
matches:
'UIView[clickable=false] + LynxFlattenUI[clickable=true][visibleToUser=true]',
action: 'clickCenter',
snapshotUrls: 'https://gkd-kit.gitee.io/import/12705439',
},
],
},
{
enable: false,
key: 21,
name: '任务页面-右侧悬浮红包',
activityIds: 'com.ss.android.article.lite.activity.SplashActivity',
rules: 'UIScrollView + UIView + UISvg',
snapshotUrls: 'https://gkd-kit.gitee.io/import/12705447',
},
{
enable: false,
key: 22,
name: '任务页面-答题弹窗',
activityIds: 'com.ss.android.article.lite.activity.SplashActivity',
rules: [
{
matches:
'[text^="答对"][text$="金币"] + FlattenUIImage[clickable=true]',
action: 'clickCenter',
snapshotUrls: 'https://gkd-kit.gitee.io/import/12705456',
},
],
},
{
enable: false,
key: 30,
name: '搜索页面-搜索得金币弹窗',
activityIds: 'com.android.bytedance.search.SearchActivity',
rules: [
{
matches: '[text^="搜索"][text$="金币"] + LynxFlattenUI + UISvg',
action: 'clickCenter',
snapshotUrls: 'https://gkd-kit.gitee.io/import/12705468',
},
],
},
],
});