forked from gkd-kit/subscription
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcom.ss.android.ugc.aweme.ts
More file actions
119 lines (117 loc) · 4.16 KB
/
com.ss.android.ugc.aweme.ts
File metadata and controls
119 lines (117 loc) · 4.16 KB
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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
import { defineAppConfig } from '../types';
export default defineAppConfig({
id: 'com.ss.android.ugc.aweme',
name: '抖音',
groups: [
{
key: 0,
name: '关闭青少年弹窗',
rules: 'Button[text=`开启青少年模式`] + * > Button[text!=null]',
},
{
key: 1,
name: '关闭用户推荐',
rules: [
{
activityIds:
'com.google.android.material.bottomsheet.BottomSheetDialog',
matches:
'[id="com.ss.android.ugc.aweme:id/desc"][text="减少此类推荐"]',
snapshotUrls: 'https://gkd-kit.gitee.io/import/12520962',
},
{
activityIds: 'com.ss.android.ugc.aweme.main.MainActivity',
matches:
'[text="换一个"] - FrameLayout[clickable=true] > ImageView[clickable=true]',
snapshotUrls: ['https://gkd-kit.gitee.io/import/12520943'],
},
{
activityIds: 'com.ss.android.ugc.aweme.main.MainActivity',
matches:
'[text="你可能感兴趣"] < LinearLayout + [text="隐藏"][clickable=true]',
snapshotUrls: ['https://gkd-kit.gitee.io/import/12675396'],
},
{
activityIds: 'com.ss.android.ugc.aweme.main.MainActivity',
matches: '[text="朋友推荐"] +(2) @FrameLayout > [desc="不感兴趣"]',
snapshotUrls: 'https://gkd-kit.gitee.io/import/12675129',
},
{
activityIds:
'com.ss.android.ugc.aweme.friends.ui.RawAddFriendsActivity',
matches:
'[text="朋友推荐"] < LinearLayout + FrameLayout > [desc="关闭"][clickable=true]',
snapshotUrls: 'https://gkd-kit.gitee.io/import/12675245',
},
],
},
{
key: 2,
activityIds: [
'com.ss.android.ugc.aweme.main.MainActivity',
'com.miui.home.launcher.Launcher',
],
name: '关闭朋友推荐弹窗',
rules: '[text="朋友推荐"] +2 [id="com.ss.android.ugc.aweme:id/close"]',
snapshotUrls: [
'https://gkd-kit.gitee.io/import/12525387',
'https://gkd-kit.gitee.io/import/12525389',
],
},
{
key: 3,
name: '关闭更新弹窗',
activityIds: 'com.ss.android.ugc.aweme.main.MainActivity',
rules: '@[text="以后再说"] +2 [text="立即升级"]',
snapshotUrls: 'https://gkd-kit.gitee.io/import/12534016',
},
{
key: 4,
name: '首页左上角广告',
activityIds: 'com.ss.android.ugc.aweme.main.MainActivity',
rules:
'ViewGroup + FrameLayout[id=null] > FrameLayout[childCount=2][id!=null] > ImageView[desc="关闭"][clickable=true][id!=null]',
snapshotUrls: 'https://gkd-kit.gitee.io/import/12749276',
},
{
key: 5,
name: '广告弹窗',
rules:
'[id="android:id/content"] >2 RelativeLayout[childCount<=5] > @ImageView[clickable=true][id!=null] - TextView[text="广告"][id!=null]',
snapshotUrls: 'https://gkd-kit.gitee.io/import/12769137',
},
{
key: 6,
name: '去商店评分',
desc: '点击[取消]',
activityIds: 'com.ss.android.ugc.aweme.main.MainActivity',
rules: '@[text="取消"] +2 [text="五星好评"]',
snapshotUrls: 'https://gkd-kit.gitee.io/import/13053628',
exampleUrls:
'https://github.com/gkd-kit/inspect/assets/38517192/4554c785-39e0-4eac-9cfb-f1b1c2976008',
},
{
enable: false,
key: 10,
name: '请求开启通知提示信息',
desc: '自动点击“暂不”',
activityIds: 'com.ss.android.ugc.aweme.main.MainActivity',
rules:
'@[text="暂不"][focusable=true] < LinearLayout - LinearLayout >(2) [text="开启朋友通知"]',
snapshotUrls: 'https://gkd-kit.gitee.io/import/12675129',
},
{
enable: false,
key: 11,
name: '自动勾选原图',
desc: '聊天发送图片时自动勾选原图',
activityIds:
'com.ss.android.ugc.aweme.im.sdk.media.choose.MediaChooseActivity',
rules: '[text="原图"][desc="未选中/复选框 原图"]',
snapshotUrls: [
'https://i.gkd.li/import/12846036', // 未选中
'https://i.gkd.li/import/12846040', // 已选中
],
},
],
});