Skip to content

Commit a27c75a

Browse files
committedJan 29, 2025
feat: APKPure (#748)
1 parent 4497504 commit a27c75a

File tree

1 file changed

+101
-0
lines changed

1 file changed

+101
-0
lines changed
 

‎src/apps/com.apkpure.aegon.ts

+101
Original file line numberDiff line numberDiff line change
@@ -81,5 +81,106 @@ export default defineGkdApp({
8181
},
8282
],
8383
},
84+
{
85+
key: 5,
86+
name: '全屏广告-弹窗广告',
87+
desc: '点击关闭',
88+
matchTime: 10000,
89+
rules: [
90+
{
91+
fastQuery: true,
92+
matchTime: 10000,
93+
activityIds: '.main.activity.MainTabActivity',
94+
matches:
95+
'ImageView[childCount=0][text=null] < @LinearLayout[clickable=true][visibleToUser=true] < LinearLayout < LinearLayout < LinearLayout < RelativeLayout < [id="android:id/content"]',
96+
exampleUrls: 'https://e.gkd.li/10d6f26e-cbd1-4159-914b-68c39ff05436',
97+
snapshotUrls: 'https://i.gkd.li/i/18587607',
98+
},
99+
{
100+
key: 1,
101+
fastQuery: true,
102+
matchTime: 10000,
103+
activityIds: '.main.activity.AppManagerActivity',
104+
matches:
105+
'@ImageView[index=0][childCount=0][clickable=true][visibleToUser=true] < ViewGroup[childCount=2] < [id="android:id/content"]',
106+
exampleUrls: 'https://e.gkd.li/b8201abb-359e-4fc8-82de-0e3784278cd2',
107+
snapshotUrls: 'https://i.gkd.li/i/18587646',
108+
},
109+
{
110+
key: 2,
111+
activityIds: '.v2.app.detail.AppDetailV2Activity',
112+
matches:
113+
'@ImageView[childCount=0][clickable=true][visibleToUser=true] - [text="正在下载" || text="正在更新"]',
114+
exampleUrls: 'https://e.gkd.li/214effcb-76c5-4cc0-b4c8-40c805331fe8',
115+
snapshotUrls: [
116+
'https://i.gkd.li/i/18587702',
117+
'https://i.gkd.li/i/18587507',
118+
],
119+
},
120+
],
121+
},
122+
{
123+
key: 6,
124+
name: '局部广告-悬浮广告',
125+
desc: '点击关闭',
126+
matchTime: 10000,
127+
actionMaximum: 1,
128+
resetMatch: 'app',
129+
rules: [
130+
{
131+
fastQuery: true,
132+
activityIds: '.main.activity.MainTabActivity',
133+
matches:
134+
'@ImageView[childCount=0][clickable=true][visibleToUser=true] <3 RelativeLayout[childCount=4] < FrameLayout <2 FrameLayout < [id="android:id/content"]',
135+
exampleUrls: 'https://e.gkd.li/1ba2de53-b533-47dc-87a4-a701d2bcacd7',
136+
snapshotUrls: 'https://i.gkd.li/i/18587501',
137+
},
138+
],
139+
},
140+
{
141+
key: 7,
142+
name: '局部广告-卡片广告',
143+
desc: '点击关闭',
144+
rules: [
145+
{
146+
key: 0,
147+
activityIds: '.main.activity.AppManagerActivity',
148+
matches:
149+
'@[desc="closeButton"][visibleToUser=true] - WebView >3 [text="广告"]',
150+
exampleUrls: 'https://e.gkd.li/afc307a6-8271-4776-b7d5-60bd999d0fe5',
151+
snapshotUrls: 'https://i.gkd.li/i/18587514',
152+
},
153+
{
154+
key: 1,
155+
activityIds: '.main.activity.AppManagerActivity',
156+
matches: '[vid="anythink_myoffer_banner_close"][visibleToUser=true]',
157+
exampleUrls: 'https://e.gkd.li/ce6a779c-454d-4a71-9d54-1401e615bbf7',
158+
snapshotUrls: 'https://i.gkd.li/i/18587745',
159+
},
160+
],
161+
},
162+
{
163+
key: 8,
164+
name: '局部广告-电报频道推广横幅',
165+
desc: '点击关闭',
166+
rules: [
167+
{
168+
fastQuery: true,
169+
activityIds: [
170+
'.main.activity.MainTabActivity',
171+
'.main.activity.AppManagerActivity',
172+
'.v2.app.detail.AppDetailV2Activity',
173+
],
174+
matches:
175+
'@LinearLayout[clickable=true][visibleToUser=true] - LinearLayout >3 [text="Join"]',
176+
exampleUrls: 'https://e.gkd.li/088ca8e8-5442-4b60-9ce9-0e6dd7d94304',
177+
snapshotUrls: [
178+
'https://i.gkd.li/i/18587504',
179+
'https://i.gkd.li/i/18587515',
180+
'https://i.gkd.li/i/18587775',
181+
],
182+
},
183+
],
184+
},
84185
],
85186
});

0 commit comments

Comments
 (0)