forked from gkd-kit/subscription
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcom.jdd.motorfans.ts
More file actions
78 lines (77 loc) · 2.64 KB
/
com.jdd.motorfans.ts
File metadata and controls
78 lines (77 loc) · 2.64 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
import { defineAppConfig } from '../types';
export default defineAppConfig({
id: 'com.jdd.motorfans',
name: '摩托范',
groups: [
{
key: 1,
name: '第三方 SDK 广告弹窗',
matchLauncher: true,
activityIds: [
'com.jdd.motorfans.MTMainActivity',
'com.jdd.motorfans.modules.detail.DetailActivity2',
'com.jdd.motorfans.search.SearchMainActivity',
'com.jdd.motorfans.modules.base.FragmentContainerActivity',
'com.miui.home.launcher.Launcher',
],
rules: [
{
key: 0,
matches:
'[id="com.jdd.motorfans:id/ad_content"] >n [id="com.jdd.motorfans:id/iv_close"]',
snapshotUrls: [
'https://gkd-kit.gitee.io/import/12733646',
'https://i.gkd.li/import/12798654',
'https://i.gkd.li/import/12878843',
'https://i.gkd.li/import/12840710',
'https://i.gkd.li/import/12913956', // com.jdd.motorfans.modules.base.FragmentContainerActivity
],
exampleUrls:
'https://user-images.githubusercontent.com/44717382/270852019-b0296eaa-a378-49b3-877b-acefca2a7d58.gif',
},
{
key: 1,
matches: '@ImageView -n RelativeLayout > TextView[text*="广告"]',
snapshotUrls: ['https://gkd-kit.gitee.io/import/12826288'],
},
],
},
{
key: 2,
name: '信息流广告',
activityIds: ['com.jdd.motorfans.MTMainActivity'],
rules: [
{
name: '点x按钮',
key: 0,
matches:
'[id="com.jdd.motorfans:id/recyclerView"] > FrameLayout[id="com.jdd.motorfans:id/container"] > FrameLayout[childCount=3] > ImageView[clickable=true][id=null] + ImageView[clickable=true][id=null]', //虽然在审查页面能匹配上,但是在“执行选择器”功能下一直处于搜索中,先添加后到真机测试
snapshotUrls: ['https://gkd-kit.gitee.io/import/12826382'],
},
{
name: '点击不感兴趣',
preKeys: 0,
matches: [
'TextView[id="com.jdd.motorfans:id/beizi_dislike_item_multi_one_title"][text*="不感兴趣"]',
],
snapshotUrls: ['https://gkd-kit.gitee.io/import/12829069'],
},
],
},
{
key: 3,
name: '文章内容弹窗',
activityIds: [
'com.jdd.motorfans.modules.zone.search.ZoneInsideSearchActivity',
],
rules: [
{
name: '点x按钮',
key: 0,
matches: '[id="com.jdd.motorfans:id/iv_close"]',
snapshotUrls: ['https://gkd-kit.gitee.io/import/12888087'],
},
],
},
],
});