From 1258cd337b530ed240ded96f6ed74d3119eee862 Mon Sep 17 00:00:00 2001 From: jhonson <65718361+zhangyusheng211@users.noreply.github.com> Date: Wed, 13 Sep 2023 21:50:07 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E4=B8=80=E5=88=BB=E7=9B=B8=E5=86=8C):=20?= =?UTF-8?q?=E5=BC=80=E5=B1=8F=E5=B9=BF=E5=91=8A,=20=E5=8D=87=E7=BA=A7?= =?UTF-8?q?=E5=BC=B9=E7=AA=97=20(#68)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * 添加一刻相册广告跳过规则 * feat(一刻相册):跳过开屏广告+升级弹窗 * fix(一刻相册): 软件升级提醒-增强选择器准确性 --------- Co-authored-by: lisonge --- src/apps/com.baidu.youavideo.ts | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 src/apps/com.baidu.youavideo.ts diff --git a/src/apps/com.baidu.youavideo.ts b/src/apps/com.baidu.youavideo.ts new file mode 100644 index 00000000..0d83d685 --- /dev/null +++ b/src/apps/com.baidu.youavideo.ts @@ -0,0 +1,31 @@ +import { defineAppConfig } from '../types'; + +export default defineAppConfig({ + id: 'com.baidu.youavideo', + name: '一刻相册', + groups: [ + { + key: 1, + name: '开屏广告', + activityIds: ['com.baidu.youavideo.app.ui.SplashActivity'], + rules: [ + { + matches: '[id="com.byted.pangle:id/tt_splash_skip_btn"]', + snapshotUrls: ['https://gkd-kit.gitee.io/import/12597925'], + }, + ], + }, + { + key: 2, + name: '软件升级提醒', + activityIds: ['com.baidu.youavideo.home.view.HomeActivity'], + rules: [ + { + matches: + '[id="com.baidu.youavideo:id/tv_upgrade"] < LinearLayout +2 [id="com.baidu.youavideo:id/img_close"]', + snapshotUrls: ['https://gkd-kit.gitee.io/import/12597916'], + }, + ], + }, + ], +});