forked from gkd-kit/subscription
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcom.taobao.etao.ts
59 lines (58 loc) · 1.71 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
import { defineAppConfig } from '../types';
export default defineAppConfig({
id: 'com.taobao.etao',
name: '一淘',
groups: [
{
key: 1,
name: '更新弹窗',
actionMaximum: 1,
resetMatch: 'app',
rules: '[text="更新提示"] <<2 * +2 * >2 [text="取消"]',
snapshotUrls: [
'https://i.gkd.li/import/12684250',
'https://i.gkd.li/import/12727457',
'https://i.gkd.li/import/12684244',
],
},
{
key: 2,
name: '弹窗广告',
rules: [
{
key: 0,
activityIds: [
'com.taobao.etao.app.home.view.NewHomeActivity',
'com.taobao.etao.app.homev4.HomeV4Activity',
],
matches:
'LinearLayout[childCount=2] > @RelativeLayout[clickable=true][childCount=1] > ImageView[childCount=0]',
snapshotUrls: [
'https://i.gkd.li/import/12739581',
'https://i.gkd.li/import/13670025',
],
},
],
},
{
enable: false,
key: 10,
name: '请求打开系统通知提示信息',
desc: '自动点击提示信息的x按钮',
rules: [
{
activityIds: ['com.taobao.sns.app.message.MessageActivity'],
matches:
'[text^="打开消息通知"] + [text="去开启"] + ImageView[clickable=true]',
snapshotUrls: ['https://i.gkd.li/import/12684278'],
},
{
activityIds: ['com.taobao.etao.mine.MetaXMineActivity'],
matches:
'[text^="打开消息通知"] + FrameLayout > [text="去开启"] < FrameLayout + ImageView[clickable=true]',
snapshotUrls: ['https://i.gkd.li/import/12684351'],
},
],
},
],
});