forked from gkd-kit/subscription
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathandroid.zhibo8.ts
47 lines (46 loc) · 1.24 KB
/
android.zhibo8.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
import { defineAppConfig } from '../types';
export default defineAppConfig({
id: 'android.zhibo8',
name: '直播吧',
groups: [
{
key: 0,
name: '开屏广告',
matchTime: 10000,
actionMaximum: 1,
resetMatch: 'app',
quickFind: true,
rules: [
{
matches: 'TextView[text^="跳过"]',
snapshotUrls: [
'https://i.gkd.li/import/12700387',
'https://i.gkd.li/import/12661109',
],
},
],
},
{
key: 1,
name: '信息流广告',
quickFind: true,
activityIds: 'android.zhibo8.ui.contollers.main.MainActivity',
rules: [
{
key: 0,
name: '点击[查看详情]右侧x',
matches:
'@[id="android.zhibo8:id/iv_tip"] - [id="android.zhibo8:id/tv_app_download_2"]',
snapshotUrls: 'https://i.gkd.li/import/12841134',
},
{
key: 1, //不重叠不需要preKeys
name: '点击[不感兴趣]',
matches:
'@LinearLayout > [id="android.zhibo8:id/tv_title"][text="不感兴趣"]', // issues/1656, 直接指向text可能不工作
snapshotUrls: 'https://i.gkd.li/import/12841135',
},
],
},
],
});