forked from gkd-kit/subscription
-
Notifications
You must be signed in to change notification settings - Fork 0
/
com.huawei.browser.ts
39 lines (38 loc) · 1015 Bytes
/
com.huawei.browser.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
import { defineAppConfig } from '../types';
export default defineAppConfig({
id: 'com.huawei.browser',
name: '华为浏览器',
groups: [
{
key: 0,
name: '开屏广告',
matchTime: 10000,
actionMaximum: 1,
resetMatch: 'app',
rules: [
{
matches: '[id$="/hiad_skip_text"]',
action: 'clickCenter',
snapshotUrls: [
'https://i.gkd.li/import/12681995',
'https://i.gkd.li/import/13403785',
],
},
],
},
{
key: 1,
name: '开启资讯通知弹窗',
desc: '关闭资讯通知后,总是弹窗让打开',
rules: [
{
activityIds: 'com.huawei.browser.BrowserMainActivity',
matches: '[id="com.huawei.browser:id/close_push_guide_window"]',
exampleUrls:
'https://m.gkd.li/87047583/3982b64a-15a7-4c0c-b179-2ed82d6ea18e',
snapshotUrls: 'https://i.gkd.li/import/13692404',
},
],
},
],
});