From d04f1a956e92ee87b7aeda00cfee10b73eff11e4 Mon Sep 17 00:00:00 2001 From: jiuqianyuan <39406781+jiuqianyuan@users.noreply.github.com> Date: Thu, 30 Nov 2023 21:28:19 +0800 Subject: [PATCH] =?UTF-8?q?feat(GoFun=E5=87=BA=E8=A1=8C):=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=20(#2649)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * feat(GoFun出行):开屏广告、广告弹窗 * 格式更正 * chore(actions): check_format_lint --------- Co-authored-by: github-actions[bot] close #2633 --- src/apps/com.gvsoft.gofun.ts | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 src/apps/com.gvsoft.gofun.ts diff --git a/src/apps/com.gvsoft.gofun.ts b/src/apps/com.gvsoft.gofun.ts new file mode 100644 index 00000000..403bb2a0 --- /dev/null +++ b/src/apps/com.gvsoft.gofun.ts @@ -0,0 +1,30 @@ +import { defineAppConfig } from '../types'; + +export default defineAppConfig({ + id: 'com.gvsoft.gofun', + name: 'GoFun出行', + groups: [ + { + key: 0, + name: '开屏广告', + quickFind: true, + matchTime: 10000, + actionMaximum: 1, + resetMatch: 'app', + rules: '[text*="跳过"][text.length<=10]', + snapshotUrls: 'https://i.gkd.li/import/13497753', + }, + { + key: 5, + name: '广告弹窗', + quickFind: true, + matchTime: 10000, + actionMaximum: 1, + resetMatch: 'app', + activityIds: 'com.gvsoft.gofun.module.home.activity.HomeActivity', + rules: + '[id="com.gvsoft.gofun:id/cardView"] + [id="com.gvsoft.gofun:id/iv_close"]', + snapshotUrls: 'https://i.gkd.li/import/13497777', + }, + ], +});