From 3a8f13565e6b10f00b4e20ff8b5da678f3e4fb6d Mon Sep 17 00:00:00 2001 From: AIsouler Date: Mon, 17 Jun 2024 14:20:51 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E5=8D=8E=E4=B8=BA=E9=98=85=E8=AF=BB):=20?= =?UTF-8?q?=E5=BC=80=E5=B1=8F=E5=B9=BF=E5=91=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/apps/com.huawei.hwread.dz.ts | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 src/apps/com.huawei.hwread.dz.ts diff --git a/src/apps/com.huawei.hwread.dz.ts b/src/apps/com.huawei.hwread.dz.ts new file mode 100644 index 00000000..ae022e38 --- /dev/null +++ b/src/apps/com.huawei.hwread.dz.ts @@ -0,0 +1,23 @@ +import { defineGkdApp } from '@gkd-kit/define'; + +export default defineGkdApp({ + id: 'com.huawei.hwread.dz', + name: '华为阅读', + groups: [ + { + key: 1, + name: '开屏广告', + quickFind: true, + matchTime: 10000, + actionMaximum: 1, + resetMatch: 'app', + rules: [ + { + action: 'clickCenter', // https://github.com/AIsouler/GKD_subscription/issues/246 + matches: '[text*="跳过"][text.length<10][visibleToUser=true]', + snapshotUrls: 'https://i.gkd.li/i/15862073', + }, + ], + }, + ], +});