From e291f3d65d905fa4d8ccdad85d5e924a47bc9550 Mon Sep 17 00:00:00 2001 From: Kun Jinkao <45487685+Snoopy1866@users.noreply.github.com> Date: Sun, 15 Oct 2023 02:34:10 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E8=B4=B4=E5=90=A7=E6=9E=81=E9=80=9F?= =?UTF-8?q?=E7=89=88):=20=E9=A6=96=E9=A1=B5-=E4=BF=A1=E6=81=AF=E6=B5=81?= =?UTF-8?q?=E5=B9=BF=E5=91=8A=20(#1072)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit close #1067 --- src/apps/com.baidu.tieba_mini.ts | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 src/apps/com.baidu.tieba_mini.ts diff --git a/src/apps/com.baidu.tieba_mini.ts b/src/apps/com.baidu.tieba_mini.ts new file mode 100644 index 00000000..69aa455f --- /dev/null +++ b/src/apps/com.baidu.tieba_mini.ts @@ -0,0 +1,26 @@ +import { defineAppConfig } from '../types'; + +export default defineAppConfig({ + id: 'com.baidu.tieba_mini', + name: '贴吧极速版', + groups: [ + { + key: 1, + name: '首页-信息流广告', + activityIds: ['com.baidu.tieba.tblauncher.MainTabActivity'], + rules: [ + { + key: 0, + matches: 'LinearLayout > [text="广告"] + ImageView', + snapshotUrls: 'https://gkd-kit.gitee.io/import/12905039', + }, + { + preKeys: 0, + key: 1, + matches: '[text="屏蔽广告"]', + snapshotUrls: ['https://gkd-kit.gitee.io/import/12904633'], + }, + ], + }, + ], +});