-
Notifications
You must be signed in to change notification settings - Fork 152
/
Copy pathcom.android.vending.ts
62 lines (61 loc) · 1.82 KB
/
com.android.vending.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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
import { defineGkdApp } from '@gkd-kit/define';
export default defineGkdApp({
id: 'com.android.vending',
name: 'Google Play 商店',
groups: [
{
key: 1,
name: '功能类-Play保护机制弹窗',
desc: '点击[不发送]/[拒绝]',
rules: [
{
activityIds:
'com.google.android.finsky.protectdialogs.activity.PlayProtectDialogsActivity',
matches:
'[text*="保护机制"] +3 @View[clickable=true] > [text="不发送" || text="拒绝"]',
snapshotUrls: [
'https://i.gkd.li/i/14035144',
'https://i.gkd.li/i/17375098',
],
},
],
},
{
key: 2,
name: '全屏广告-弹窗广告',
desc: '点击[以后再说]/[不用了]',
fastQuery: true,
actionMaximum: 1,
resetMatch: 'app',
rules: [
{
key: 1,
position: {
left: 'width * 0.5',
top: 'height * 0.75',
},
activityIds: 'com.google.android.finsky.activities.MainActivity',
matches:
'@LinearLayout[childCount=0][visibleToUser=true] -3 [text^="体验" || text^="隆重推出"]',
snapshotUrls: [
'https://i.gkd.li/i/15286041',
'https://i.gkd.li/i/16397947',
],
},
{
key: 2,
activityIds: 'com.google.android.finsky.activities.MainActivity',
matches:
'[text="以后再说" || text="不用了" || text="No thanks" || text="Not now"][visibleToUser=true]',
snapshotUrls: [
'https://i.gkd.li/i/14958783',
'https://i.gkd.li/i/16079813',
'https://i.gkd.li/i/17622043',
'https://i.gkd.li/i/18135816',
'https://i.gkd.li/i/18609168',
],
},
],
},
],
});