forked from gkd-kit/subscription
-
Notifications
You must be signed in to change notification settings - Fork 0
/
com.flutter3.ctangxin.vf0egg.ts
67 lines (66 loc) · 2.14 KB
/
com.flutter3.ctangxin.vf0egg.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
63
64
65
66
67
import { defineAppConfig } from '../types';
export default defineAppConfig({
id: 'com.flutter3.ctangxin.vf0egg', // 注意 appId 有随机后缀, 每个版本都变,需修改为你自己的 appId
name: '糖心Vlog',
groups: [
{
enable: false,
key: 0,
name: '开屏广告',
desc: '虚假按钮,实际点击无法跳过,规则暂时保留',
matchTime: 10000,
actionMaximum: 1,
resetMatch: 'app',
rules: [
{
matches:
'FrameLayout > View > View > View > View > @View[clickable=true && desc.length=2] + ImageView[childCount=1]',
snapshotUrls: 'https://i.gkd.li/import/12836857',
},
],
},
{
key: 1,
name: '全屏广告-广告弹窗', // 目前已叠加了三层广告
//matchDelay: 6500, // 待无法跳过的5s开屏广告过后,能够主动执行匹配
matchTime: 10000,
actionCd: 100,
resetMatch: 'app',
activityIds: ['com.example.flutter3_frame.MainActivity'],
rules: [
{
action: 'back',
matches:
'FrameLayout > View > View > View[index=0] > View > ImageView[childCount=1] + View[clickable=true && desc=null]',
snapshotUrls: 'https://i.gkd.li/import/12836891',
},
],
},
{
key: 2,
name: '全屏广告-公告弹窗',
matchTime: 10000,
resetMatch: 'app',
activityIds: ['com.example.flutter3_frame.MainActivity'],
rules: [
{
action: 'back',
matches: '[desc="公告"] +2 [desc="取消"][clickable=true]',
snapshotUrls: 'https://i.gkd.li/import/12836854',
},
],
},
{
// key1、2的延迟工具,matchDelay如在key1、2,有时候开屏广告时切了后台,
// 后台恢复时,界面上的弹窗就得等6.5s了
key: 3,
name: '全屏广告-延迟工具(协助key1、2)',
desc: '5s开屏广告后主动触发匹配',
matchDelay: 6500, // 时间太小会导致低性能手机赶不上
matchTime: 10000,
resetMatch: 'app',
quickFind: true,
rules: 'TextView[text="xxxxx"]',
},
],
});