From 49e933e3a991e213d6ce3dea1d367e6c9840a949 Mon Sep 17 00:00:00 2001 From: AIsouler Date: Thu, 10 Apr 2025 12:26:41 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E8=B4=9F=E4=B8=80=E5=B1=8F-=E5=88=86?= =?UTF-8?q?=E6=AE=B5=E5=B9=BF=E5=91=8A-=E5=8D=A1=E7=89=87=E5=B9=BF?= =?UTF-8?q?=E5=91=8A=20#847?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/apps/com.hihonor.hiboard.ts | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 src/apps/com.hihonor.hiboard.ts diff --git a/src/apps/com.hihonor.hiboard.ts b/src/apps/com.hihonor.hiboard.ts new file mode 100644 index 00000000..b22ed56d --- /dev/null +++ b/src/apps/com.hihonor.hiboard.ts @@ -0,0 +1,30 @@ +import { defineGkdApp } from '@gkd-kit/define'; + +export default defineGkdApp({ + id: 'com.hihonor.hiboard', + name: '负一屏', + groups: [ + { + key: 1, + name: '分段广告-卡片广告', + fastQuery: true, + activityIds: + 'com.hihonor.feed.ui.weather.nested.NestedWeatherDetailActivity', + rules: [ + { + key: 0, + matches: + '[vid="ll_ad_flag_layout"] > [vid="iv_close"][visibleToUser=true]', + exampleUrls: 'https://e.gkd.li/3ca8edb5-ba16-406c-8319-7bc5389f6e31', + snapshotUrls: 'https://i.gkd.li/i/19670830', + }, + { + preKeys: [0], + matches: '[text="不感兴趣"][visibleToUser=true]', + exampleUrls: 'https://e.gkd.li/eaea2f1e-741a-4171-9cc1-8a2c86848d93', + snapshotUrls: 'https://i.gkd.li/i/19670664', + }, + ], + }, + ], +});