-
-
Notifications
You must be signed in to change notification settings - Fork 204
/
Copy pathcom.baidu.duer.superapp.ts
37 lines (36 loc) · 1.3 KB
/
com.baidu.duer.superapp.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
import { defineGkdApp } from '@gkd-kit/define';
export default defineGkdApp({
id: 'com.baidu.duer.superapp',
name: '小度',
groups: [
{
key: 0,
name: '开屏广告',
matchTime: 10000,
actionMaximum: 1,
resetMatch: 'app',
actionMaximumKey: 0,
priorityTime: 10000,
rules: [
{
key: 0,
fastQuery: true,
matches: '[text*="跳过"][text.length<10][clickable=true]',
exampleUrls:
'https://m.gkd.li/57941037/017edf59-e705-4f92-9726-af7fec5aaf41',
snapshotUrls: 'https://i.gkd.li/i/14368528',
},
{
key: 1,
anyMatches: [
'@View[clickable=true][text=null][visibleToUser=true] + TextView[index=parent.childCount.minus(1)][text=null] <n FrameLayout[childCount>2] >(7,8,9,10) [text*="第三方应用" || text*="扭动手机" || text*="点击或上滑"][visibleToUser=true]',
'FrameLayout > FrameLayout[childCount>2] > @View[clickable=true][text=null][visibleToUser=true] + TextView[index=parent.childCount.minus(1)][text=null][visibleToUser=true]',
],
exampleUrls:
'https://m.gkd.li/57941037/7d338956-f006-4775-a418-2ae6dc21ef9a',
snapshotUrls: 'https://i.gkd.li/i/14204175',
},
],
},
],
});