forked from gkd-kit/subscription
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcom.tencent.androidqqmail.ts
46 lines (45 loc) · 1.45 KB
/
com.tencent.androidqqmail.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
import { defineAppConfig } from '../types';
export default defineAppConfig({
id: 'com.tencent.androidqqmail',
name: 'qq邮箱',
groups: [
{
key: -1,
name: '开屏广告',
activityIds: 'com.tencent.qqmail.launcher.desktop.LauncherActivity',
rules: 'RelativeLayout > ImageView[id!=null] + ImageView[id!=null]',
snapshotUrls: 'https://gkd-kit.songe.li/import/12775855',
},
{
key: 0,
name: '广告邮件-列表卡片广告',
activityIds: 'com.tencent.qqmail.fragment.base.MailFragmentActivity',
rules: [
{
key: 0,
desc: '英文版邮箱广告',
matches: ['[id="com.tencent.androidqqmail:id/advertise_view_ad"]'],
snapshotUrls: 'https://gkd-kit.songe.li/import/12842757',
},
{
preKeys: [0],
matches: '@FrameLayout > TextView[text="Not interested"]',
snapshotUrls: 'https://gkd-kit.songe.li/import/12842775',
},
{
key: 1,
matches:
'LinearLayout > TextView + @LinearLayout[id!=null][clickable=true] > [text="广告"]',
snapshotUrls: 'https://gkd-kit.songe.li/import/12775857',
},
{
preKeys: [1],
key: 9,
matches:
'[text="赞助商提供的广告"] < FrameLayout + @FrameLayout > [text="不感兴趣"]',
snapshotUrls: 'https://gkd-kit.songe.li/import/12775862',
},
],
},
],
});