From 1dbfb9d66fa0266f00ff205476c0c890bfb931cd Mon Sep 17 00:00:00 2001 From: jiuqianyuan <39406781+jiuqianyuan@users.noreply.github.com> Date: Sat, 18 Nov 2023 22:51:28 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E5=92=95=E5=92=9A):=E5=BC=80=E5=B1=8F?= =?UTF-8?q?=E5=B9=BF=E5=91=8A=E3=80=81=E5=B9=BF=E5=91=8A=E5=BC=B9=E7=AA=97?= =?UTF-8?q?=20(#2167)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * feat(咕咚):开屏广告、广告弹窗 * 格式更正 close #1544 --- src/apps/com.codoon.gps.ts | 46 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 src/apps/com.codoon.gps.ts diff --git a/src/apps/com.codoon.gps.ts b/src/apps/com.codoon.gps.ts new file mode 100644 index 00000000..dfd6e769 --- /dev/null +++ b/src/apps/com.codoon.gps.ts @@ -0,0 +1,46 @@ +import { defineAppConfig } from '../types'; + +export default defineAppConfig({ + id: 'com.codoon.gps', + name: '咕咚', + groups: [ + { + key: 0, + name: '开屏广告', + quickFind: true, + matchTime: 10000, + actionMaximum: 1, + resetMatch: 'app', + rules: [ + { + key: 0, + name: '【跳过+倒计时】型', + matches: '[text*="跳过"][text.length<=10]', + snapshotUrls: 'https://i.gkd.li/import/13348806', + }, + ], + }, + { + key: 1, + name: '广告弹窗', + matchTime: 10000, + actionMaximum: 1, + resetMatch: 'activity', + activityIds: 'com.codoon.gps.ui.SlideActivity', + rules: [ + { + name: '首页-广告弹窗', + matches: + '[id="android:id/content"] >2 RelativeLayout > ViewGroup[childCount=2] > ImageView[clickable=true] + ImageView[clickable=true]', + snapshotUrls: 'https://i.gkd.li/import/13358586', + }, + { + name: '运动圈-广告弹窗', + matches: + '[id="android:id/content"] >4 FrameLayout > ImageView + FrameLayout > ImageView', + snapshotUrls: 'https://i.gkd.li/import/13348663', + }, + ], + }, + ], +});