From fb154f66232f975b76f72ee18248b06b659fced8 Mon Sep 17 00:00:00 2001 From: CallMeBill Date: Thu, 21 Sep 2023 21:30:45 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E5=8D=8E=E4=B8=BA=E6=B5=8F=E8=A7=88?= =?UTF-8?q?=E5=99=A8):=20=E5=BC=80=E5=B1=8F=E5=B9=BF=E5=91=8A=20(#230)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/apps/com.huawei.browser.ts | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 src/apps/com.huawei.browser.ts diff --git a/src/apps/com.huawei.browser.ts b/src/apps/com.huawei.browser.ts new file mode 100644 index 00000000..545bbe90 --- /dev/null +++ b/src/apps/com.huawei.browser.ts @@ -0,0 +1,20 @@ +import { defineAppConfig } from '../types'; + +export default defineAppConfig({ + id: 'com.huawei.browser', + name: '华为浏览器', + groups: [ + { + key: 0, + name: '开屏广告', + activityIds: ['com.huawei.browser.BrowserMainActivity'], + rules: [ + { + matches: '[id="com.huawei.hms.ads.uiengine:id/hiad_skip_text"]', + action: 'clickCenter', + snapshotUrls: ['https://gkd-kit.gitee.io/import/12681995'], + }, + ], + }, + ], +});