forked from gkd-kit/subscription
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcom.guwendao.gwd.ts
58 lines (56 loc) · 1.81 KB
/
com.guwendao.gwd.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
import { machine } from 'os';
import { defineAppConfig } from '../types';
export default defineAppConfig({
id: 'com.guwendao.gwd',
name: '古文岛',
groups: [
{
key: 1,
name: '更新弹窗',
activityIds: 'com.guwendao.gwd.MainActivity',
rules: '[text="应用升级提醒"] +n LinearLayout > [text="取消"]',
snapshotUrls: 'https://i.gkd.li/import/12776605',
},
{
key: 2,
name: '第三方 SDK 广告弹窗',
activityIds: 'com.guwendao.gwd.MainActivity',
rules: [
// 腾讯广告
{
key: 0,
matches: 'ImageView - FrameLayout > FrameLayout > ImageView[id=null]',
snapshotUrls: 'https://i.gkd.li/import/12776607',
},
{
activityIds:
'com.android.systemui.media.MediaProjectionPermissionActivity', // 疑似设置权限后activityId更新不及时产生的bug
key: 1,
matches:
'ImageView - LinearLayout - FrameLayout > FrameLayout > ImageView[id=null]',
snapshotUrls: 'https://i.gkd.li/import/12777151',
},
{
key: 2,
matches:
'[id="com.byted.pangle.m:id/tt_reward_full_count_down_after"]',
snapshotUrls: 'https://i.gkd.li/import/12781344',
},
{
key: 3,
matches:
'ImageView < FrameLayout + FrameLayout > FrameLayout > ImageView[id=null]',
snapshotUrls: 'https://gkd-kit.gitee.io/import/12924728',
},
// 字节广告
{
activityIds:
'com.bytedance.sdk.openadsdk.stub.activity.Stub_Standard_Portrait_Activity',
key: 10,
matches: '@Image[id=null] < View + View + TextView[text="反馈"]',
snapshotUrls: 'https://i.gkd.li/import/12781327',
},
],
},
],
});