From f7f072a627dedfb2ab82dcac3070ddace34f0035 Mon Sep 17 00:00:00 2001 From: Ze-Zheng Wu Date: Sun, 3 Sep 2023 20:47:08 +0800 Subject: [PATCH] =?UTF-8?q?feat(rule):=20=E6=B7=BB=E5=8A=A0=E4=B8=8B?= =?UTF-8?q?=E5=8E=A8=E6=88=BF=E5=BC=80=E5=B1=8F=E5=B9=BF=E5=91=8A=E8=B7=B3?= =?UTF-8?q?=E8=BF=87=E8=A7=84=E5=88=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/apps/com.xiachufang.ts | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 src/apps/com.xiachufang.ts diff --git a/src/apps/com.xiachufang.ts b/src/apps/com.xiachufang.ts new file mode 100644 index 00000000..2b1e6ed2 --- /dev/null +++ b/src/apps/com.xiachufang.ts @@ -0,0 +1,30 @@ +import { defineAppConfig } from '../types'; + +export default defineAppConfig({ + id: 'com.xiachufang', + name: '下厨房', + groups: [ + { + key: 1, + name: '开屏广告', + activityIds: ['com.xiachufang.startpage.ui.StartPageActivity'], + rules: [ + { + matches: '[id$="/tt_splash_skip_btn"]', + snapshotUrls: ['https://gkd-kit.songe.li/import/12505985'], + }, + { + matches: '[id$="/start_page_count_down_tv"]', + snapshotUrls: ['https://gkd-kit.songe.li/import/12506014'], + }, + { + matches: '[text$="跳过"]', + snapshotUrls: [ + 'https://gkd-kit.songe.li/import/12506014', + 'https://gkd-kit.songe.li/import/12506041', + ], + }, + ], + }, + ], +});