From 6d6a3a2ec026b51c48e8d23b1232b68177a36e31 Mon Sep 17 00:00:00 2001 From: jiuqianyuan <39406781+jiuqianyuan@users.noreply.github.com> Date: Sun, 24 Dec 2023 20:48:48 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E5=B0=8F=E6=81=A9=E7=88=B1):=E5=BC=80?= =?UTF-8?q?=E5=B1=8F=E5=B9=BF=E5=91=8A=E3=80=81=E5=B9=BF=E5=91=8A=E5=BC=B9?= =?UTF-8?q?=E7=AA=97=E3=80=81=E4=BF=A1=E6=81=AF=E6=B5=81=E5=B9=BF=E5=91=8A?= =?UTF-8?q?=20(#3355)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit close #3353 --- src/apps/com.xiaoenai.app.ts | 54 ++++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 src/apps/com.xiaoenai.app.ts diff --git a/src/apps/com.xiaoenai.app.ts b/src/apps/com.xiaoenai.app.ts new file mode 100644 index 00000000..76304052 --- /dev/null +++ b/src/apps/com.xiaoenai.app.ts @@ -0,0 +1,54 @@ +import { defineAppConfig } from '../types'; + +export default defineAppConfig({ + id: 'com.xiaoenai.app', + name: '小恩爱', + groups: [ + { + key: 0, + name: '开屏广告', + matchTime: 10000, + actionMaximum: 1, + resetMatch: 'app', + rules: [ + { + quickFind: true, + matches: '[text*="跳过"][text.length<=10]', + snapshotUrls: 'https://i.gkd.li/import/13727905', + }, + ], + }, + { + key: 6, + name: '广告弹窗', + matchTime: 10000, + actionMaximum: 1, + resetMatch: 'app', + activityIds: + 'com.xiaoenai.app.presentation.home.view.activity.HomeActivity', + rules: [ + { + name: '腾讯广告SDK', + matches: + 'FrameLayout[childCount>1] > FrameLayout[childCount=1] > ImageView[width<90][height<90]', + snapshotUrls: 'https://i.gkd.li/import/13728018', + }, + ], + }, + { + key: 7, + name: '信息流广告', + activityIds: + 'com.xiaoenai.app.presentation.home.view.activity.HomeActivity', + rules: [ + { + name: '字节广告SDK', + quickFind: true, + matches: + '@ImageView[clickable=true][width<90][height<90] -3 ImageView <