forked from gkd-kit/subscription
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcom.copymanga.app.ts
More file actions
113 lines (112 loc) · 3.7 KB
/
com.copymanga.app.ts
File metadata and controls
113 lines (112 loc) · 3.7 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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
import { defineAppConfig } from '../types';
export default defineAppConfig({
id: 'com.copymanga.app',
name: '拷貝漫畫',
groups: [
{
key: 0,
name: '开屏广告',
matchLauncher: true,
activityIds: [
'com.copymanga.app.MainActivity',
'com.reaper.flutter.reaper_flutter_plugin.activity.ReaperSplashActivity',
],
rules: [
{
matches: '[text *= "跳过" && text.length<6]',
snapshotUrls: [
'https://gkd-kit.gitee.io/import/12504489',
'https://gkd-kit.gitee.io/import/12504507',
'https://i.gkd.li/import/12852509',
'https://gkd-kit.gitee.io/import/12504492',
],
},
],
},
{
key: 1,
name: '内部弹窗广告',
matchLauncher: true,
activityIds: ['com.copymanga.app.MainActivity'],
delay: 500,
rules: [
{
activityIds: 'com.kwad.components.ad.interstitial',
matches: 'TextView[text="跳过"]',
snapshotUrls: 'https://gkd-kit.gitee.io/import/12504486',
},
{
activityIds: 'com.kwad.components.ad.interstitial',
matches: 'ViewGroup[clickable=true] > ImageView',
snapshotUrls: 'https://gkd-kit.gitee.io/import/12504488',
},
{
matches:
'ImageView < FrameLayout < FrameLayout +2 FrameLayout > ImageView',
snapshotUrls: 'https://gkd-kit.gitee.io/import/12504501',
},
{
matches: 'ImageView + FrameLayout + FrameLayout > ImageView',
snapshotUrls: [
'https://gkd-kit.gitee.io/import/12504520',
'https://gkd-kit.gitee.io/import/12661019',
],
},
{
matches:
'@ImageView < FrameLayout[childCount=1] +2 FrameLayout[childCount=2] >2 TextView[text$="看看"][text^="去"]',
snapshotUrls: 'https://gkd-kit.gitee.io/import/12504501',
},
{
matches:
'TextView[text.length=4] < FrameLayout[childCount>=1] <2 FrameLayout[childCount>=2] -2 FrameLayout > ImageView',
snapshotUrls: 'https://gkd-kit.gitee.io/import/12892156', //最后是ImageView否则和io/import/12504501误触
},
{
activityIds:
'com.bytedance.sdk.openadsdk.stub.activity.Stub_Standard_Portrait_Activity',
matches: '[text="反馈"] -2 @View - Image',
snapshotUrls: 'https://gkd-kit.gitee.io/import/12925052',
},
{
activityIds:
'com.bytedance.sdk.openadsdk.stub.activity.Stub_Standard_Portrait_Activity',
matches: '[text="反馈"] -4 @View < View[childCount=7]',
snapshotUrls: 'https://gkd-kit.gitee.io/import/12925095',
},
],
},
{
key: 2,
name: '加入书架按钮下面的广告',
activityIds: 'com.copymanga.app.MainActivity',
rules: [
{
name: '点击右上角x',
matches: 'ImageView[id="com.copymanga.app:id/close"]',
snapshotUrls: 'https://gkd-kit.gitee.io/import/12504525',
},
{
name: '点击右下角x',
matches:
'FrameLayout[childCount=3] > LinearLayout + FrameLayout[childCount=1] > ImageView[id=null]',
snapshotUrls: [
'https://gkd-kit.gitee.io/import/12851671',
'https://gkd-kit.gitee.io/import/12909005',
],
},
],
},
{
key: 3,
name: '关闭赞助提示',
activityIds: 'com.copymanga.app.MainActivity',
rules: [
{
matches: '@[desc="就这样吧"] + [desc^="赞助免广告"]',
snapshotUrls: 'https://gkd-kit.gitee.io/import/12851627',
},
],
},
],
});