forked from gkd-kit/subscription
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcom.hupu.games.ts
More file actions
46 lines (45 loc) · 1.46 KB
/
com.hupu.games.ts
File metadata and controls
46 lines (45 loc) · 1.46 KB
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.hupu.games',
name: '虎扑',
groups: [
{
key: 0,
name: '开屏广告',
desc: '开屏广告,任意界面切回APP广告',
rules:
'[id="com.byted.pangle:id/tt_splash_skip_btn"||id="com.hupu.games:id/tv_time"&&text*="跳过"]',
snapshotUrls: [
'https://gkd-kit.gitee.io/import/12509060',
'https://gkd-kit.gitee.io/import/12510962',
'https://gkd-kit.gitee.io/import/12567546',
'https://gkd-kit.gitee.io/import/12567546',
],
},
{
key: 1,
activityIds: 'com.hupu.games.main.MainActivity',
name: '推荐流广告',
desc: '点击卡片右上角广告文字,出现广告反馈,点击屏蔽该广告',
rules: [
{
activityIds: [
'com.google.android.material.bottomsheet.BottomSheetDialog',
'com.hupu.games.main.MainActivity',
],
matches:
'@[clickable=true] > [id="com.hupu.games:id/tv_title"][text="屏蔽该广告"]',
snapshotUrls: [
'https://gkd-kit.gitee.io/import/12511010',
'https://gkd-kit.gitee.io/import/12534848',
],
},
{
matches:
'@[id="com.hupu.games:id/shield_view"] >2 [id="com.hupu.games:id/tv_tag"][text="广告"]',
snapshotUrls: 'https://gkd-kit.gitee.io/import/12511005',
},
],
},
],
});