forked from gkd-kit/subscription
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcom.hupu.games.ts
42 lines (41 loc) · 1.18 KB
/
com.hupu.games.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
import { defineAppConfig } from '../types';
export default defineAppConfig({
id: 'com.hupu.games',
name: '虎扑',
groups: [
{
key: 1,
activityIds: [
'com.hupu.games.main.MainActivity',
'com.hupu.android.bbs.detail.PostDetailActivity',
'com.hupu.topic.TopicActivity',
],
quickFind: true,
name: '推荐流广告',
desc: '点击卡片右上角广告文字,出现广告反馈,点击屏蔽该广告',
rules: [
{
key: 0,
matches:
'@[id="com.hupu.games:id/shield_view"] >2 [id="com.hupu.games:id/tv_tag"][text="广告"]',
snapshotUrls: [
'https://i.gkd.li/import/12511005',
'https://i.gkd.li/import/13258026',
'https://i.gkd.li/import/13259692',
],
},
{
preKeys: 0,
key: 1,
matches:
'@[clickable=true] > [id="com.hupu.games:id/tv_title"][text="屏蔽该广告"]',
snapshotUrls: [
'https://i.gkd.li/import/12511010',
'https://i.gkd.li/import/12534848',
'https://i.gkd.li/import/13259699',
],
},
],
},
],
});