From f1ea78aa448d83e1e9a4829f6eb4966372518311 Mon Sep 17 00:00:00 2001 From: Kun Jinkao <45487685+Snoopy1866@users.noreply.github.com> Date: Fri, 20 Oct 2023 00:39:06 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E8=85=BE=E8=AE=AF=E8=A7=86=E9=A2=91):=20?= =?UTF-8?q?=E8=A7=86=E9=A2=91=E6=92=AD=E6=94=BE=E6=97=B6=E7=9A=84=E5=B9=BF?= =?UTF-8?q?=E5=91=8A-=E8=A7=84=E5=88=99=E4=BC=98=E5=8C=96=20(#1241)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * feat: 视频播放时的广告 * feat(腾讯视频): 视频播放时的广告-规则优化 --------- Co-authored-by: 二刺螈 --- src/apps/com.tencent.qqlive.ts | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/src/apps/com.tencent.qqlive.ts b/src/apps/com.tencent.qqlive.ts index a55c7b52..1b44965f 100644 --- a/src/apps/com.tencent.qqlive.ts +++ b/src/apps/com.tencent.qqlive.ts @@ -72,18 +72,26 @@ export default defineAppConfig({ }, { key: 4, - name: '片头广告', + name: '视频播放时的广告', desc: '自动点击 跳过广告', activityIds: ['com.tencent.qqlive.ona.activity.VideoDetailActivity'], rules: [ { - matches: '[text="跳过广告"][clickable=true]', - snapshotUrls: ['https://gkd-kit.gitee.io/import/12700407'], + key: 0, + name: '点击[跳过广告]', + matches: + '@[text$="跳过广告"][clickable=true] < LinearLayout > [text="VIP可关闭该广告"]', + snapshotUrls: [ + 'https://gkd-kit.gitee.io/import/12700407', + 'https://gkd-kit.gitee.io/import/12700433', + ], }, { + key: 1, + name: '点击左下角广告横幅右上角x', matches: - '@ImageView < FrameLayout < FrameLayout +(2) LinearLayout >(3) [text$="跳过广告"]', - snapshotUrls: ['https://gkd-kit.gitee.io/import/12700433'], + 'FrameLayout[childCount=2] > FrameLayout > RelativeLayout > View[id!=null][clickable=true]', + snapshotUrls: 'https://gkd-kit.songe.li/import/13043079', }, ], },