forked from gkd-kit/subscription
-
Notifications
You must be signed in to change notification settings - Fork 0
/
com.miui.player.ts
39 lines (38 loc) · 1.17 KB
/
com.miui.player.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
import { defineAppConfig } from '../types';
export default defineAppConfig({
id: 'com.miui.player',
name: '小米音乐',
groups: [
{
key: 0,
name: '开屏广告',
activityIds: [
'com.tencent.qqmusiclite.activity.MainActivity',
'com.tencent.qqmusiclite.activity.SplashAdActivity',
],
rules:
'@TextView[text$=`跳过`] + TextView[id="com.miui.player:id/ad_view"]',
snapshotUrls: [
'https://gkd-kit.gitee.io/import/12700962',
'https://i.gkd.li/import/12852707',
],
},
{
enable: false,
key: 10,
name: '会员过期续费弹窗',
activityIds: 'com.tencent.qqmusiccommon.hybrid.HybridViewActivity',
rules: '[id=null][desc="关闭弹框按钮"][clickable=true]',
snapshotUrls: 'https://gkd-kit.gitee.io/import/12700955',
},
{
enable: false,
key: 11,
name: '我的页面-顶部 banner 广告',
activityIds: 'com.tencent.qqmusiclite.activity.MainActivity',
rules:
'[id="com.miui.player:id/banner_image"] + [id="com.miui.player:id/close_banner"]',
snapshotUrls: 'https://gkd-kit.gitee.io/import/12700984',
},
],
});