forked from gkd-kit/subscription
-
Notifications
You must be signed in to change notification settings - Fork 0
/
com.android.mediacenter.ts
69 lines (68 loc) · 2.37 KB
/
com.android.mediacenter.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
69
import { defineAppConfig } from '../types';
export default defineAppConfig({
id: 'com.android.mediacenter',
name: '华为音乐',
groups: [
{
key: 0,
name: '开屏广告',
activityIds: 'com.android.mediacenter.PageActivity',
matchLauncher: true,
quickFind: true,
rules: [
{
key: 0,
matches: '[id="com.huawei.hms.ads.uiengine:id/hiad_skip_text"]',
snapshotUrls: 'https://i.gkd.li/import/12901417',
exampleUrls:
'https://github.com/gkd-kit/inspect/assets/38517192/6c34cd13-cfda-4462-99ed-2a2534a6fdf5',
},
{
key: 1,
matches: '[id="com.android.mediacenter:id/jump"]',
snapshotUrls: 'https://i.gkd.li/import/12908742',
exampleUrls:
'https://github.com/gkd-kit/inspect/assets/38517192/c71bb14d-cd1f-4f9e-8ee9-6a1e11e56901',
},
],
},
{
key: 1,
name: 'VIP广告弹窗',
desc: '点击底部圆形x图标关闭弹窗',
activityIds: 'com.android.mediacenter.MainActivity',
quickFind: true,
rules: '[id="com.android.mediacenter:id/iv_close"]',
snapshotUrls: 'https://gkd-kit.gitee.io/import/12914026',
exampleUrls:
'https://github.com/gkd-kit/inspect/assets/38517192/433dd71c-4fe5-41c9-a2da-dd3ac29f8dd4',
},
{
key: 2,
name: '推荐广告卡片',
desc: '点击卡片右上角[广告],点击不感兴趣[直接关闭]',
quickFind: true,
rules: [
{
key: 0,
name: '点击卡片右上角[广告]',
activityIds: 'com.android.mediacenter.MainActivity',
matches: '[id="com.android.mediacenter:id/ad_more_layout"]',
snapshotUrls: 'https://gkd-kit.gitee.io/import/12914077',
exampleUrls:
'https://github.com/gkd-kit/inspect/assets/38517192/37ee4a9b-2518-41e6-8227-7b204ed1bf61',
},
{
key: 1,
name: '点击不感兴趣[直接关闭]',
activityIds: 'com.huawei.openalliance.ad.activity.FeedbackActivity',
matches:
'[id="com.android.mediacenter:id/label_title"][text="直接关闭"]',
snapshotUrls: 'https://gkd-kit.gitee.io/import/12914078',
exampleUrls:
'https://github.com/gkd-kit/inspect/assets/38517192/d098a194-80ff-49a1-b80e-191f7574a816',
},
],
},
],
});