From c581c7764b04e46495b25fbb2189593b0ae072d8 Mon Sep 17 00:00:00 2001 From: Kun Jinkao <45487685+Snoopy1866@users.noreply.github.com> Date: Sun, 26 Nov 2023 21:39:30 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E4=B8=B0=E5=B7=A2=E7=AE=A1=E5=AE=B6):=20?= =?UTF-8?q?=E5=BC=80=E5=B1=8F=E5=B9=BF=E5=91=8A=E3=80=81=E5=BC=B9=E7=AA=97?= =?UTF-8?q?=E5=B9=BF=E5=91=8A=20(#2501)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * feat 开屏广告 * feat 弹窗广告 --- src/apps/com.fcbox.hivebox.ts | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 src/apps/com.fcbox.hivebox.ts diff --git a/src/apps/com.fcbox.hivebox.ts b/src/apps/com.fcbox.hivebox.ts new file mode 100644 index 00000000..28bb7b77 --- /dev/null +++ b/src/apps/com.fcbox.hivebox.ts @@ -0,0 +1,33 @@ +import { defineAppConfig } from '../types'; + +export default defineAppConfig({ + id: 'com.fcbox.hivebox', + name: '丰巢管家', + groups: [ + { + key: 0, + name: '开屏广告', + quickFind: true, + matchTime: 10000, + actionMaximum: 1, + resetMatch: 'app', + rules: '@[clickable=true] > [text$="跳过"][text.length<=10]', + snapshotUrls: 'https://i.gkd.li/import/13458968', + }, + { + key: 1, + name: '弹窗广告', + rules: [ + { + key: 0, + name: '首页弹窗广告', + activityIds: 'com.fcbox.hivebox.business.main.MainActivity', + quickFind: true, + matches: + '[id="com.fcbox.hivebox:id/fl_content_container"] + [id="com.fcbox.hivebox:id/iv_close"]', + snapshotUrls: 'https://i.gkd.li/import/13459000', + }, + ], + }, + ], +});