From 079da71fc55703d4db157d4b7bdf2e9f32154ea1 Mon Sep 17 00:00:00 2001 From: walklty <47232102+walklty@users.noreply.github.com> Date: Fri, 13 Oct 2023 00:29:18 +0800 Subject: [PATCH] =?UTF-8?q?feat(Youtube):=20=E8=B5=9E=E5=8A=A9=E5=95=86?= =?UTF-8?q?=E5=B9=BF=E5=91=8A,=20Premium=E5=B9=BF=E5=91=8A=20(#944)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Update com.google.android.youtube.ts * chore(actions): check_format_lint --------- Co-authored-by: github-actions[bot] close #938 --- src/apps/com.google.android.youtube.ts | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/src/apps/com.google.android.youtube.ts b/src/apps/com.google.android.youtube.ts index 7e518176..4afcc03b 100644 --- a/src/apps/com.google.android.youtube.ts +++ b/src/apps/com.google.android.youtube.ts @@ -12,5 +12,22 @@ export default defineAppConfig({ 'com.google.android.apps.youtube.app.watchwhile.WatchWhileActivity', rules: '[id=`com.google.android.youtube:id/skip_ad_button`]', }, + { + key: 1, + name: '视频播放-赞助商广告', + snapshotUrls: 'https://gkd-kit.gitee.io/import/12877346', + activityIds: + 'com.google.android.apps.youtube.app.watchwhile.WatchWhileActivity', + rules: 'ImageView[desc="更多选项"] + @ImageView[desc="关闭广告面板"]', + }, + { + key: 2, + name: '首页-会员广告', + snapshotUrls: 'https://gkd-kit.gitee.io/import/12877357', + activityIds: + 'com.google.android.apps.youtube.app.watchwhile.WatchWhileActivity', + rules: + 'ImageView < @Button < ViewGroup +3 Button[desc*="YouTube Premium"]', + }, ], });