This repository has been archived by the owner on Apr 19, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 387
/
Copy pathcom.taobao.etao.ts
68 lines (67 loc) · 2.19 KB
/
com.taobao.etao.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
import { defineAppConfig } from '../types';
export default defineAppConfig({
id: 'com.taobao.etao',
name: '一淘',
groups: [
{
key: 0,
name: '开屏广告',
activityIds: 'com.taobao.sns.app.advertise.SplashAdActivity',
rules: '[id!=null][text^="跳过"][clickable=true]',
snapshotUrls: 'https://gkd-kit.songe.li/import/12727451',
},
{
key: 1,
name: '更新弹窗',
activityIds: [
'com.taobao.etao.app.homev4.HomeV4Activity',
'com.taobao.etao.app.home.view.NewHomeActivity',
'com.miui.home.launcher.Launcher',
],
rules: [
{
matches:
'[text="更新提示"] < LinearLayout < LinearLayout +(2) ScrollView >(2) [text="取消"]',
snapshotUrls: [
'https://gkd-kit.gitee.io/import/12684250',
'https://gkd-kit.songe.li/import/12727457', // activityId: 'com.taobao.etao.app.home.view.NewHomeActivity'
'https://gkd-kit.gitee.io/import/12684244', // activityId: 'com.miui.home.launcher.Launcher'
],
},
],
},
{
key: 2,
name: '首页广告弹窗',
rules: [
{
key: 0,
activityIds: 'com.taobao.etao.app.home.view.NewHomeActivity',
matches:
'LinearLayout > FrameLayout + RelativeLayout > ImageView[id!=null][visibleToUser=true]',
snapshotUrls: 'https://gkd-kit.songe.li/import/12739581',
},
],
},
{
enable: false,
key: 10,
name: '请求打开系统通知提示信息',
desc: '自动点击提示信息的x按钮',
rules: [
{
activityIds: ['com.taobao.sns.app.message.MessageActivity'],
matches:
'[text^="打开消息通知"] + [text="去开启"] + ImageView[clickable=true]',
snapshotUrls: ['https://gkd-kit.gitee.io/import/12684278'],
},
{
activityIds: ['com.taobao.etao.mine.MetaXMineActivity'],
matches:
'[text^="打开消息通知"] + FrameLayout > [text="去开启"] < FrameLayout + ImageView[clickable=true]',
snapshotUrls: ['https://gkd-kit.gitee.io/import/12684351'],
},
],
},
],
});