forked from gkd-kit/subscription
-
Notifications
You must be signed in to change notification settings - Fork 0
/
com.github.eprendre.tingshu.ts
46 lines (45 loc) · 1.31 KB
/
com.github.eprendre.tingshu.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.github.eprendre.tingshu',
name: '我的听书',
groups: [
{
key: 1,
name: '卡片式广告',
activityIds: [
'com.github.eprendre.tingshu.ui.search.AggregateSearchActivity',
'com.github.eprendre.tingshu.ui.play.PlayerActivity',
],
rules: [
{
key: 0,
name: '搜索结果底部/播放页面广告卡片',
activityIds: 'com.github.eprendre.tingshu.ui.play.PlayerActivity',
matches:
'FrameLayout > FrameLayout[childCount=1] > ImageView[width<80][height<80]',
snapshotUrls: [
'https://i.gkd.li/import/12783466',
'https://i.gkd.li/import/13334850',
'https://i.gkd.li/import/13446735',
],
},
],
},
{
key: 2,
name: '弹窗广告',
rules: [
{
key: 0,
name: '快手广告',
activityIds: 'com.github.eprendre.tingshu.ui.SplashActivity',
matches: [
'ViewGroup[childCount=2] > [text="广告"]',
'ViewGroup[childCount=3] > TextView + TextView + ImageView[clickable=true]',
],
snapshotUrls: 'https://i.gkd.li/import/13625303',
},
],
},
],
});