From 48a9b589baf480cfaf99ce1a1b95d0de5d7d5c64 Mon Sep 17 00:00:00 2001 From: Kun Jinkao <45487685+Snoopy1866@users.noreply.github.com> Date: Sun, 8 Oct 2023 23:07:05 +0800 Subject: [PATCH] =?UTF-8?q?feat(TapTap):=20=E6=B8=B8=E6=88=8F=E6=B5=8F?= =?UTF-8?q?=E8=A7=88=E7=95=8C=E9=9D=A2-=E6=8E=A8=E8=8D=90=E5=B9=BF?= =?UTF-8?q?=E5=91=8A=20(#770)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/apps/com.taptap.ts | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 src/apps/com.taptap.ts diff --git a/src/apps/com.taptap.ts b/src/apps/com.taptap.ts new file mode 100644 index 00000000..ddb1f2d9 --- /dev/null +++ b/src/apps/com.taptap.ts @@ -0,0 +1,28 @@ +import { defineAppConfig } from '../types'; + +export default defineAppConfig({ + id: 'com.taptap', + name: 'TapTap', + groups: [ + { + key: 2, + name: '游戏浏览界面-推荐广告', + desc: '自动点击【对此内容不感兴趣】', + rules: [ + { + key: 0, + activityIds: 'com.android.launcher3.Launcher', + matches: '[id="com.taptap.app.game:id/app_menu"][visibleToUser=true]', + snapshotUrls: 'https://gkd-kit.songe.li/import/12840903', + }, + { + key: 1, + activityIds: + 'com.taptap.game.discovery.impl.findgame.allgame.dialog.FindGameMenuDialog', + matches: '@LinearLayout > [text="对此内容不感兴趣"]', + snapshotUrls: 'https://gkd-kit.songe.li/import/12840904', + }, + ], + }, + ], +});