From 5daef343e5b7ca89e04dcef5aa2c7a79e8d47559 Mon Sep 17 00:00:00 2001 From: Kun Jinkao <45487685+Snoopy1866@users.noreply.github.com> Date: Tue, 2 Jan 2024 20:20:47 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E6=99=BA=E6=85=A7=E6=A0=91):=20=E5=BC=80?= =?UTF-8?q?=E5=B1=8F=E5=B9=BF=E5=91=8A=E3=80=81=E5=BC=B9=E7=AA=97=E5=B9=BF?= =?UTF-8?q?=E5=91=8A=20(#3566)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * feat 开屏广告 * feat 弹窗广告 --- src/apps/com.hyww.wisdomtree.ts | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 src/apps/com.hyww.wisdomtree.ts diff --git a/src/apps/com.hyww.wisdomtree.ts b/src/apps/com.hyww.wisdomtree.ts new file mode 100644 index 00000000..7f41e8f5 --- /dev/null +++ b/src/apps/com.hyww.wisdomtree.ts @@ -0,0 +1,32 @@ +import { defineAppConfig } from '../types'; + +export default defineAppConfig({ + id: 'com.hyww.wisdomtree', + name: '智慧树', + groups: [ + { + key: 0, + name: '开屏广告', + matchTime: 10000, + actionMaximum: 1, + resetMatch: 'app', + quickFind: true, + rules: '[text*="跳过"][text.length<=10]', + snapshotUrls: 'https://i.gkd.li/import/13799839', + }, + { + key: 1, + name: '弹窗广告', + rules: [ + { + key: 0, + name: '百度广告', + activityIds: 'com.baidu.mobads.sdk.api.MobRewardVideoActivity', + matches: + '@ImageView[clickable=true] + RelativeLayout > RelativeLayout[childCount=6] > ImageView[childCount=0][index=5]', + snapshotUrls: 'https://i.gkd.li/import/13799876', + }, + ], + }, + ], +});