forked from gkd-kit/subscription
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcom.tencent.qqmusic.ts
46 lines (45 loc) · 1.5 KB
/
com.tencent.qqmusic.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 { matches } from 'lodash';
import { defineAppConfig } from '../types';
export default defineAppConfig({
id: 'com.tencent.qqmusic',
name: 'QQ音乐',
groups: [
{
key: 0,
name: '开屏广告',
rules: [
{
activityIds: [
'com.tencent.qqmusic.activity.AppStarterActivity',
'com.tencent.qqmusic.business.splash.thirdpartsplash.tme.union.SplashDialog',
'com.miui.home.launcher.Launcher',
],
matches: 'TextView[text=`跳过`][clickable=true]',
snapshotUrls: [
'https://gkd-kit.gitee.io/import/12673960', // text="互动广告"
'https://gkd-kit.gitee.io/import/12674023', // text="互动广告 | "
'https://gkd-kit.gitee.io/import/12673998', // text="广告"
'https://gkd-kit.gitee.io/import/12674074', // text="运营推广"
],
},
],
},
{
key: 1,
name: '推荐页-广告卡片',
activityIds: 'com.tencent.qqmusic.activity.AppStarterActivity',
rules: [
'@LinearLayout[clickable=true] > TextView[text="广告"] + ImageView', // 1688045698846
'TextView[text="广告 | 关闭"][clickable=true]',
],
},
{
key: 2,
name: '首页-底部广告弹窗',
quickFind: true,
activityIds: 'com.tencent.qqmusic.activity.TranslucentWebViewActivity',
rules: 'View[id="js_close_btn"][desc="关闭"]',
snapshotUrls: 'https://gkd-kit.gitee.io/import/13115121',
},
],
});