forked from gkd-kit/subscription
-
Notifications
You must be signed in to change notification settings - Fork 0
/
com.netease.mobimail.ts
64 lines (63 loc) · 1.86 KB
/
com.netease.mobimail.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
import { defineAppConfig } from '../types';
export default defineAppConfig({
id: 'com.netease.mobimail',
name: '网易邮箱',
groups: [
{
key: 0,
name: '开屏广告',
matchTime: 10000,
actionMaximum: 1,
resetMatch: 'app',
rules: [
{
key: 0,
quickFind: true,
matches:
'[text*="跳过"][text.length<=10][id!="com.netease.mobimail:id/ad_skip"]',
snapshotUrls: [
'https://i.gkd.li/import/12686132',
'https://i.gkd.li/import/13328441',
'https://i.gkd.li/import/13800060',
],
},
{
key: 1,
matches: '[id="com.byted.pangle:id/tt_splash_skip_btn"]',
snapshotUrls: 'https://i.gkd.li/import/12686093',
},
{
key: 2,
matches: '[id="com.netease.mobimail:id/ad_skip"][clickable=true]',
snapshotUrls: [
'https://i.gkd.li/import/12667519',
'https://i.gkd.li/import/13328425', // 限定 [clickable=true] 防止误触假的跳过按钮
],
},
],
},
{
key: 1,
name: '邮件列表页面广告条目',
rules: [
{
activityIds: 'com.netease.mail.biz.main.MainITabActivity',
matches: '[id="com.netease.mobimail:id/ad_vip"]',
snapshotUrls: 'https://i.gkd.li/import/12683488',
},
{
activityIds: 'com.netease.mail.biz.main.MainITabActivity',
matches: '[id="com.netease.mobimail:id/ll_delete"]',
snapshotUrls: 'https://i.gkd.li/import/12683511',
},
],
},
{
key: 2,
name: '切回时的开屏广告',
activityIds: 'com.netease.mail.biz.main.MainITabActivity',
rules: '@LinearLayout > TextView[text^="跳过"]',
snapshotUrls: 'https://i.gkd.li/import/12685745',
},
],
});