forked from gkd-kit/subscription
-
Notifications
You must be signed in to change notification settings - Fork 0
/
com.google.android.gm.ts
43 lines (42 loc) · 1.35 KB
/
com.google.android.gm.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
import { defineAppConfig } from '../types';
export default defineAppConfig({
id: 'com.google.android.gm',
name: 'Gmail',
groups: [
{
key: 2,
name: '信息流广告',
rules: [
{
quickFind: true,
key: -1,
name: '点击广告扩展-1',
matches:
'[id="com.google.android.gm:id/button_chip_ad_teaser_info_icon"]',
snapshotUrls: 'https://i.gkd.li/import/13255698',
},
{
quickFind: true,
key: 0,
name: '点击广告扩展-2',
matches: '[id="com.google.android.gm:id/basic_ad_teaser_info_icon"]',
snapshotUrls: 'https://i.gkd.li/import/13255698',
},
{
preKeys: [-1, 0],
key: 1,
name: '广告中心-点击屏蔽',
matches: 'Button[text="屏蔽此广告"]', // TODO quickFind 优化改进 Button[text="屏蔽此广告"] <<n [id="com.google.android.gm:id/my_ad_center_dialog"]
snapshotUrls: 'https://i.gkd.li/import/13255700',
},
{
preKeys: 1,
key: 2,
name: '点击继续确认屏蔽',
matches: 'Button[text="继续"]', // TODO Button[text="继续"] <<n [id="com.google.android.gm:id/design_bottom_sheet"]
snapshotUrls: 'https://i.gkd.li/import/13255701',
},
],
},
],
});